<!DOCTYPE html>
<!-- saved from url=(0059)https://blog.csdn.net/qq_31635851/article/details/123069879 -->
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <link rel="canonical" href="https://blog.csdn.net/qq_31635851/article/details/123069879">
    
    <meta name="renderer" content="webkit">
    <meta name="force-rendering" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="report" content="{&quot;pid&quot;: &quot;blog&quot;, &quot;spm&quot;:&quot;1001.2101&quot;}">
    <meta name="referrer" content="always">
    <meta http-equiv="Cache-Control" content="no-siteapp"><link rel="alternate" media="handheld" href="https://blog.csdn.net/qq_31635851/article/details/123069879#">
    <meta name="shenma-site-verification" content="5a59773ab8077d4a62bf469ab966a63b_1497598848">
    <meta name="applicable-device" content="pc">
    <link href="https://g.csdnimg.cn/static/logo/favicon32.ico" rel="shortcut icon" type="image/x-icon">
    <title>【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区</title>
    <script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/f(4).txt"></script><script type="text/javascript" async="" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/auto_dup"></script><script type="text/javascript" charset="utf-8" async="" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/apiaccept"></script><script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/f(5).txt" id="google_shimpl"></script><script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/push.js.下载"></script><script type="text/javascript" async="" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/saved_resource"></script><script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/hm.js.下载"></script><script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/push.js(1).下载" id="ttzz"></script><script>
      (function(){ 
        var el = document.createElement("script"); 
        el.src = "https://s3a.pstatp.com/toutiao/push.js?1abfa13dfe74d72d41d83c86d240de427e7cac50c51ead53b2e79d40c7952a23ed7716d05b4a0f683a653eab3e214672511de2457e74e99286eb2c33f4428830"; 
        el.id = "ttzz"; 
        var s = document.getElementsByTagName("script")[0]; 
        s.parentNode.insertBefore(el, s);
      })(window)
    </script>
        <meta name="keywords" content="java8 方法区">
        <meta name="csdn-baidu-search" content="{&quot;autorun&quot;:true,&quot;install&quot;:true,&quot;keyword&quot;:&quot;java8 方法区&quot;}">
    <meta name="description" content="文章目录java8内存结构图虚拟机内存与本地内存的区别JVM内存本地内存java运行时数据区域程序计数器（Program Counter Register）虚拟机栈（JVM Stacks）虚拟机栈可能会抛出两种异常：本地方法栈（Native Method Stacks）Java堆（Java Heap）方法区(Method Area)类元信息（Klass）运行时常量池（Runtime Constant Pool）直接内存常见问题什么是Native方法？成员变量、局部变量、类变量分别存储在内存的什么地方？类变量">
    <script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/blog.js.下载" type="text/javascript"></script>
        <link rel="stylesheet" type="text/css" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/detail_enter-d9aa713720.min.css">
    <style>
        #content_views pre{
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none; 
            user-select: none; 
        }
        #content_views pre code{
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none; 
            user-select: none; 
        }
    </style>
    <script type="application/ld+json">{"@context":"https://ziyuan.baidu.com/contexts/cambrian.jsonld","@id":"https://blog.csdn.net/qq_31635851/article/details/123069879","appid":"1638831770136827","pubDate":"2022-02-22T15:41:15","title":"【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区","upDate":"2022-02-22T15:57:44"}</script>
        <link rel="stylesheet" type="text/css" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/skin3-template-762f7595fd.min.css">
    <script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/jquery-1.9.1.min.js.下载" type="text/javascript"></script>
    <script type="text/javascript">
        var isCorporate = false;//注释删除enterprise
        var username =  "qq_31635851";
        var skinImg = "white";
        var blog_address = "https://moonce.blog.csdn.net";
        var currentUserName = "";
        var isOwner = false;
        var loginUrl = "http://passport.csdn.net/account/login?from=https://blog.csdn.net/qq_31635851/article/details/123069879";
        var blogUrl = "https://blog.csdn.net/";
        var avatar = "https://profile.csdnimg.cn/9/9/7/3_qq_31635851";
        var articleTitle = "【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了";
        var articleDesc = "文章目录java8内存结构图虚拟机内存与本地内存的区别JVM内存本地内存java运行时数据区域程序计数器（Program Counter Register）虚拟机栈（JVM Stacks）虚拟机栈可能会抛出两种异常：本地方法栈（Native Method Stacks）Java堆（Java Heap）方法区(Method Area)类元信息（Klass）运行时常量池（Runtime Constant Pool）直接内存常见问题什么是Native方法？成员变量、局部变量、类变量分别存储在内存的什么地方？类变量";
        var articleTitles = "【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区";
        var nickName = "猫巳";
        var articleDetailUrl = "https://moonce.blog.csdn.net/article/details/123069879";
        if(window.location.host.split('.').length == 3) {
            blog_address = blogUrl + username;
        }
        var skinStatus = "White";
        var blogStaticHost = "https://csdnimg.cn/release/blogv2/"
        var isShowConcision = false;
        var isCookieConcision = false
        var isHasDirectoryModel = false
        var isShowSideModel = false
        var isShowDirectoryModel = true
        function getCookieConcision(sName){
            var allCookie = document.cookie.split("; ");
            for (var i=0; i < allCookie.length; i++){
                var aCrumb = allCookie[i].split("=");
                if (sName == aCrumb[0])
                    return aCrumb[1];
            }
            return null;
        }
        if (getCookieConcision('blog_details_concision') && getCookieConcision('blog_details_concision') == 0){
            isCookieConcision = true
            isShowSideModel = true
            isShowDirectoryModel = false
        }
    </script>
    <script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/saved_resource(1)" type="text/javascript"></script>
    <script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/report.js.下载" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/sandalstrap.min.css">
    <style>
        .MathJax, .MathJax_Message, .MathJax_Preview{
            display: none
        }
    </style>
    <script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/ds.js.下载"></script>
<link rel="stylesheet" type="text/css" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/csdn-toolbar-default.css"><script type="text/javascript" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/csdn-notification.js.下载"></script><link rel="stylesheet" type="text/css" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/user-login.css"><link rel="stylesheet" type="text/css" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/collection-box.css"><link rel="stylesheet" type="text/css" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/user-tooltip.css"><link rel="stylesheet" type="text/css" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/user-medal.css"><meta http-equiv="origin-trial" content="AxujKG9INjsZ8/gUq8+dTruNvk7RjZQ1oFhhgQbcTJKDnZfbzSTE81wvC2Hzaf3TW4avA76LTZEMdiedF1vIbA4AAABueyJvcmlnaW4iOiJodHRwczovL2ltYXNkay5nb29nbGVhcGlzLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0="><meta http-equiv="origin-trial" content="Azuce85ORtSnWe1MZDTv68qpaW3iHyfL9YbLRy0cwcCZwVnePnOmkUJlG8HGikmOwhZU22dElCcfrfX2HhrBPAkAAAB7eyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="A16nvcdeoOAqrJcmjLRpl1I6f3McDD8EfofAYTt/P/H4/AWwB99nxiPp6kA0fXoiZav908Z8etuL16laFPUdfQsAAACBeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="AxBHdr0J44vFBQtZUqX9sjiqf5yWZ/OcHRcRMN3H9TH+t90V/j3ENW6C8+igBZFXMJ7G3Pr8Dd13632aLng42wgAAACBeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="A88BWHFjcawUfKU3lIejLoryXoyjooBXLgWmGh+hNcqMK44cugvsI5YZbNarYvi3roc1fYbHA1AVbhAtuHZflgEAAAB2eyJvcmlnaW4iOiJodHRwczovL2dvb2dsZS5jb206NDQzIiwiZmVhdHVyZSI6IlRydXN0VG9rZW5zIiwiZXhwaXJ5IjoxNjUyNzc0NDAwLCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="AzoawhTRDevLR66Y6MROu167EDncFPBvcKOaQispTo9ouEt5LvcBjnRFqiAByRT+2cDHG1Yj4dXwpLeIhc98/gIAAACFeyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="A6+nc62kbJgC46ypOwRsNW6RkDn2x7tgRh0wp7jb3DtFF7oEhu1hhm4rdZHZ6zXvnKZLlYcBlQUImC4d3kKihAcAAACLeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="A/9La288e7MDEU2ifusFnMg1C2Ij6uoa/Z/ylwJIXSsWfK37oESIPbxbt4IU86OGqDEPnNVruUiMjfKo65H/CQwAAACLeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="AxujKG9INjsZ8/gUq8+dTruNvk7RjZQ1oFhhgQbcTJKDnZfbzSTE81wvC2Hzaf3TW4avA76LTZEMdiedF1vIbA4AAABueyJvcmlnaW4iOiJodHRwczovL2ltYXNkay5nb29nbGVhcGlzLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0="><meta http-equiv="origin-trial" content="Azuce85ORtSnWe1MZDTv68qpaW3iHyfL9YbLRy0cwcCZwVnePnOmkUJlG8HGikmOwhZU22dElCcfrfX2HhrBPAkAAAB7eyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="A16nvcdeoOAqrJcmjLRpl1I6f3McDD8EfofAYTt/P/H4/AWwB99nxiPp6kA0fXoiZav908Z8etuL16laFPUdfQsAAACBeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="AxBHdr0J44vFBQtZUqX9sjiqf5yWZ/OcHRcRMN3H9TH+t90V/j3ENW6C8+igBZFXMJ7G3Pr8Dd13632aLng42wgAAACBeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="A88BWHFjcawUfKU3lIejLoryXoyjooBXLgWmGh+hNcqMK44cugvsI5YZbNarYvi3roc1fYbHA1AVbhAtuHZflgEAAAB2eyJvcmlnaW4iOiJodHRwczovL2dvb2dsZS5jb206NDQzIiwiZmVhdHVyZSI6IlRydXN0VG9rZW5zIiwiZXhwaXJ5IjoxNjUyNzc0NDAwLCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="AzoawhTRDevLR66Y6MROu167EDncFPBvcKOaQispTo9ouEt5LvcBjnRFqiAByRT+2cDHG1Yj4dXwpLeIhc98/gIAAACFeyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="A6+nc62kbJgC46ypOwRsNW6RkDn2x7tgRh0wp7jb3DtFF7oEhu1hhm4rdZHZ6zXvnKZLlYcBlQUImC4d3kKihAcAAACLeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="A/9La288e7MDEU2ifusFnMg1C2Ij6uoa/Z/ylwJIXSsWfK37oESIPbxbt4IU86OGqDEPnNVruUiMjfKo65H/CQwAAACLeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><style type="text/css">.hljs-ln{border-collapse:collapse}            .hljs-ln td{padding:0}            .hljs-ln-n{text-align: right;padding-right: 8px;}            .hljs-ln-n:before{content:attr(data-line-number)}</style><style type="text/css">pre{position: relative}pre:hover .code-full-screen{display:none !important;}.code-full-screen{display: none !important;position: absolute;right: 4px;top: 3px;width: 24px !important;height: 24px !important;margin: 4px !important;}pre:hover .hljs-button{display: block}.hljs-button{display: none;position: absolute;right: 4px;top: 4px;font-size: 12px;color: #ffffff;background-color: #9999AA;padding: 2px 8px;margin: 8px;border-radius: 4px;cursor: pointer; box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.05);}.hljs-button:after{content: attr(data-title)}code .hljs-button{margin: 2px 8px;}</style><link rel="stylesheet" type="text/css" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/user-accusation.css"><link rel="stylesheet" type="text/css" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/user-ordertip.css"><link rel="stylesheet" type="text/css" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/order-payment.css"><link rel="stylesheet" type="text/css" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/side-toolbar.css"><link rel="stylesheet" type="text/css" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/csdn-footer.css"><style type="text/css">.MathJax_Hover_Frame {border-radius: .25em; -webkit-border-radius: .25em; -moz-border-radius: .25em; -khtml-border-radius: .25em; box-shadow: 0px 0px 15px #83A; -webkit-box-shadow: 0px 0px 15px #83A; -moz-box-shadow: 0px 0px 15px #83A; -khtml-box-shadow: 0px 0px 15px #83A; border: 1px solid #A6D ! important; display: inline-block; position: absolute}
.MathJax_Menu_Button .MathJax_Hover_Arrow {position: absolute; cursor: pointer; display: inline-block; border: 2px solid #AAA; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; -khtml-border-radius: 4px; font-family: 'Courier New',Courier; font-size: 9px; color: #F0F0F0}
.MathJax_Menu_Button .MathJax_Hover_Arrow span {display: block; background-color: #AAA; border: 1px solid; border-radius: 3px; line-height: 0; padding: 4px}
.MathJax_Hover_Arrow:hover {color: white!important; border: 2px solid #CCC!important}
.MathJax_Hover_Arrow:hover span {background-color: #CCC!important}
</style><style type="text/css">#MathJax_About {position: fixed; left: 50%; width: auto; text-align: center; border: 3px outset; padding: 1em 2em; background-color: #DDDDDD; color: black; cursor: default; font-family: message-box; font-size: 120%; font-style: normal; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; z-index: 201; border-radius: 15px; -webkit-border-radius: 15px; -moz-border-radius: 15px; -khtml-border-radius: 15px; box-shadow: 0px 10px 20px #808080; -webkit-box-shadow: 0px 10px 20px #808080; -moz-box-shadow: 0px 10px 20px #808080; -khtml-box-shadow: 0px 10px 20px #808080; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
#MathJax_About.MathJax_MousePost {outline: none}
.MathJax_Menu {position: absolute; background-color: white; color: black; width: auto; padding: 2px; border: 1px solid #CCCCCC; margin: 0; cursor: default; font: menu; text-align: left; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; z-index: 201; box-shadow: 0px 10px 20px #808080; -webkit-box-shadow: 0px 10px 20px #808080; -moz-box-shadow: 0px 10px 20px #808080; -khtml-box-shadow: 0px 10px 20px #808080; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
.MathJax_MenuItem {padding: 2px 2em; background: transparent}
.MathJax_MenuArrow {position: absolute; right: .5em; padding-top: .25em; color: #666666; font-size: .75em}
.MathJax_MenuActive .MathJax_MenuArrow {color: white}
.MathJax_MenuArrow.RTL {left: .5em; right: auto}
.MathJax_MenuCheck {position: absolute; left: .7em}
.MathJax_MenuCheck.RTL {right: .7em; left: auto}
.MathJax_MenuRadioCheck {position: absolute; left: 1em}
.MathJax_MenuRadioCheck.RTL {right: 1em; left: auto}
.MathJax_MenuLabel {padding: 2px 2em 4px 1.33em; font-style: italic}
.MathJax_MenuRule {border-top: 1px solid #CCCCCC; margin: 4px 1px 0px}
.MathJax_MenuDisabled {color: GrayText}
.MathJax_MenuActive {background-color: Highlight; color: HighlightText}
.MathJax_MenuDisabled:focus, .MathJax_MenuLabel:focus {background-color: #E8E8E8}
.MathJax_ContextMenu:focus {outline: none}
.MathJax_ContextMenu .MathJax_MenuItem:focus {outline: none}
#MathJax_AboutClose {top: .2em; right: .2em}
.MathJax_Menu .MathJax_MenuClose {top: -10px; left: -10px}
.MathJax_MenuClose {position: absolute; cursor: pointer; display: inline-block; border: 2px solid #AAA; border-radius: 18px; -webkit-border-radius: 18px; -moz-border-radius: 18px; -khtml-border-radius: 18px; font-family: 'Courier New',Courier; font-size: 24px; color: #F0F0F0}
.MathJax_MenuClose span {display: block; background-color: #AAA; border: 1.5px solid; border-radius: 18px; -webkit-border-radius: 18px; -moz-border-radius: 18px; -khtml-border-radius: 18px; line-height: 0; padding: 8px 0 6px}
.MathJax_MenuClose:hover {color: white!important; border: 2px solid #CCC!important}
.MathJax_MenuClose:hover span {background-color: #CCC!important}
.MathJax_MenuClose:hover:focus {outline: none}
</style><style type="text/css">.MathJax_Preview .MJXf-math {color: inherit!important}
</style><style type="text/css">.MJX_Assistive_MathML {position: absolute!important; top: 0; left: 0; clip: rect(1px, 1px, 1px, 1px); padding: 1px 0 0 0!important; border: 0!important; height: 1px!important; width: 1px!important; overflow: hidden!important; display: block!important; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none}
.MJX_Assistive_MathML.MJX_Assistive_MathML_Block {width: 100%!important}
</style><style type="text/css">#MathJax_Zoom {position: absolute; background-color: #F0F0F0; overflow: auto; display: block; z-index: 301; padding: .5em; border: 1px solid black; margin: 0; font-weight: normal; font-style: normal; text-align: left; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; box-shadow: 5px 5px 15px #AAAAAA; -webkit-box-shadow: 5px 5px 15px #AAAAAA; -moz-box-shadow: 5px 5px 15px #AAAAAA; -khtml-box-shadow: 5px 5px 15px #AAAAAA; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
#MathJax_ZoomOverlay {position: absolute; left: 0; top: 0; z-index: 300; display: inline-block; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background-color: white; opacity: 0; filter: alpha(opacity=0)}
#MathJax_ZoomFrame {position: relative; display: inline-block; height: 0; width: 0}
#MathJax_ZoomEventTrap {position: absolute; left: 0; top: 0; z-index: 302; display: inline-block; border: 0; padding: 0; margin: 0; background-color: white; opacity: 0; filter: alpha(opacity=0)}
</style><style type="text/css">.MathJax_Preview {color: #888}
#MathJax_Message {position: fixed; left: 1em; bottom: 1.5em; background-color: #E6E6E6; border: 1px solid #959595; margin: 0px; padding: 2px 8px; z-index: 102; color: black; font-size: 80%; width: auto; white-space: nowrap}
#MathJax_MSIE_Frame {position: absolute; top: 0; left: 0; width: 0px; z-index: 101; border: 0px; margin: 0px; padding: 0px}
.MathJax_Error {color: #CC0000; font-style: italic}
</style><style type="text/css">.MJXp-script {font-size: .8em}
.MJXp-right {-webkit-transform-origin: right; -moz-transform-origin: right; -ms-transform-origin: right; -o-transform-origin: right; transform-origin: right}
.MJXp-bold {font-weight: bold}
.MJXp-italic {font-style: italic}
.MJXp-scr {font-family: MathJax_Script,'Times New Roman',Times,STIXGeneral,serif}
.MJXp-frak {font-family: MathJax_Fraktur,'Times New Roman',Times,STIXGeneral,serif}
.MJXp-sf {font-family: MathJax_SansSerif,'Times New Roman',Times,STIXGeneral,serif}
.MJXp-cal {font-family: MathJax_Caligraphic,'Times New Roman',Times,STIXGeneral,serif}
.MJXp-mono {font-family: MathJax_Typewriter,'Times New Roman',Times,STIXGeneral,serif}
.MJXp-largeop {font-size: 150%}
.MJXp-largeop.MJXp-int {vertical-align: -.2em}
.MJXp-math {display: inline-block; line-height: 1.2; text-indent: 0; font-family: 'Times New Roman',Times,STIXGeneral,serif; white-space: nowrap; border-collapse: collapse}
.MJXp-display {display: block; text-align: center; margin: 1em 0}
.MJXp-math span {display: inline-block}
.MJXp-box {display: block!important; text-align: center}
.MJXp-box:after {content: " "}
.MJXp-rule {display: block!important; margin-top: .1em}
.MJXp-char {display: block!important}
.MJXp-mo {margin: 0 .15em}
.MJXp-mfrac {margin: 0 .125em; vertical-align: .25em}
.MJXp-denom {display: inline-table!important; width: 100%}
.MJXp-denom > * {display: table-row!important}
.MJXp-surd {vertical-align: top}
.MJXp-surd > * {display: block!important}
.MJXp-script-box > *  {display: table!important; height: 50%}
.MJXp-script-box > * > * {display: table-cell!important; vertical-align: top}
.MJXp-script-box > *:last-child > * {vertical-align: bottom}
.MJXp-script-box > * > * > * {display: block!important}
.MJXp-mphantom {visibility: hidden}
.MJXp-munderover {display: inline-table!important}
.MJXp-over {display: inline-block!important; text-align: center}
.MJXp-over > * {display: block!important}
.MJXp-munderover > * {display: table-row!important}
.MJXp-mtable {vertical-align: .25em; margin: 0 .125em}
.MJXp-mtable > * {display: inline-table!important; vertical-align: middle}
.MJXp-mtr {display: table-row!important}
.MJXp-mtd {display: table-cell!important; text-align: center; padding: .5em 0 0 .5em}
.MJXp-mtr > .MJXp-mtd:first-child {padding-left: 0}
.MJXp-mtr:first-child > .MJXp-mtd {padding-top: 0}
.MJXp-mlabeledtr {display: table-row!important}
.MJXp-mlabeledtr > .MJXp-mtd:first-child {padding-left: 0}
.MJXp-mlabeledtr:first-child > .MJXp-mtd {padding-top: 0}
.MJXp-merror {background-color: #FFFF88; color: #CC0000; border: 1px solid #CC0000; padding: 1px 3px; font-style: normal; font-size: 90%}
.MJXp-scale0 {-webkit-transform: scaleX(.0); -moz-transform: scaleX(.0); -ms-transform: scaleX(.0); -o-transform: scaleX(.0); transform: scaleX(.0)}
.MJXp-scale1 {-webkit-transform: scaleX(.1); -moz-transform: scaleX(.1); -ms-transform: scaleX(.1); -o-transform: scaleX(.1); transform: scaleX(.1)}
.MJXp-scale2 {-webkit-transform: scaleX(.2); -moz-transform: scaleX(.2); -ms-transform: scaleX(.2); -o-transform: scaleX(.2); transform: scaleX(.2)}
.MJXp-scale3 {-webkit-transform: scaleX(.3); -moz-transform: scaleX(.3); -ms-transform: scaleX(.3); -o-transform: scaleX(.3); transform: scaleX(.3)}
.MJXp-scale4 {-webkit-transform: scaleX(.4); -moz-transform: scaleX(.4); -ms-transform: scaleX(.4); -o-transform: scaleX(.4); transform: scaleX(.4)}
.MJXp-scale5 {-webkit-transform: scaleX(.5); -moz-transform: scaleX(.5); -ms-transform: scaleX(.5); -o-transform: scaleX(.5); transform: scaleX(.5)}
.MJXp-scale6 {-webkit-transform: scaleX(.6); -moz-transform: scaleX(.6); -ms-transform: scaleX(.6); -o-transform: scaleX(.6); transform: scaleX(.6)}
.MJXp-scale7 {-webkit-transform: scaleX(.7); -moz-transform: scaleX(.7); -ms-transform: scaleX(.7); -o-transform: scaleX(.7); transform: scaleX(.7)}
.MJXp-scale8 {-webkit-transform: scaleX(.8); -moz-transform: scaleX(.8); -ms-transform: scaleX(.8); -o-transform: scaleX(.8); transform: scaleX(.8)}
.MJXp-scale9 {-webkit-transform: scaleX(.9); -moz-transform: scaleX(.9); -ms-transform: scaleX(.9); -o-transform: scaleX(.9); transform: scaleX(.9)}
.MathJax_PHTML .noError {vertical-align: ; font-size: 90%; text-align: left; color: black; padding: 1px 3px; border: 1px solid}
</style><link rel="preload" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/f(6).txt" as="script"><script type="text/javascript" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/f(6).txt"></script><script async="" src="https://fundingchoicesmessages.google.com/i/ca-pub-1076724771190722?ers=2"></script></head>
  <body class="nodata " style=""><div id="MathJax_Message" style="display: none;"></div><div id="csdn-toolbar" style="position: fixed; top: 0px; left: 0px; z-index: 1993; width: 100%;">
                    <div class="toolbar-inside">
                      <div class="toolbar-container">
                        <div class="toolbar-container-left">
                          <div class="toolbar-logo toolbar-subMenu-box csdn-toolbar-fl"><a data-report-click="{&quot;spm&quot;:&quot;3001.4476&quot;}" data-report-query="spm=3001.4476" href="https://www.csdn.net/"><img title="CSDN首页" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20201124032511.png"></a>
                    </div>
                          <ul class="toolbar-menus csdn-toolbar-fl"><li class="active " title="阅读深度、前沿文章">
                                <a data-report-click="{&quot;mod&quot;:&quot;popu_336&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/nav/cloud-native&quot;,&quot;spm&quot;:&quot;3001.4477&quot;}" data-report-query="spm=3001.4477" href="https://blog.csdn.net/nav/cloud-native">
                                  博客
                                  
                                  
                                </a>
                                
                                
                              </li><li class="" title="高价值源码课程分享">
                                <a data-report-click="{&quot;mod&quot;:&quot;popu_336&quot;,&quot;dest&quot;:&quot;https://download.csdn.net/&quot;,&quot;spm&quot;:&quot;3001.6907&quot;}" data-report-query="spm=3001.6907" href="https://download.csdn.net/">
                                  下载·课程
                                  
                                  
                                </a>
                                
                                
                              </li><li class="" title="马上开始系统学习">
                                <a data-report-click="{&quot;mod&quot;:&quot;popu_336&quot;,&quot;dest&quot;:&quot;https://edu.csdn.net/&quot;,&quot;spm&quot;:&quot;3001.4482&quot;}" data-report-query="spm=3001.4482" href="https://edu.csdn.net/">
                                  学习
                                  <img style="vertical-align: middle; width: 19px; height: 32px;margin-top: -2px;" "="" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20220516045836.png">
                                  
                                </a>
                                
                                
                              </li><li class="" title="找到志同道合的伙伴">
                                <a data-report-click="{&quot;mod&quot;:&quot;popu_336&quot;,&quot;dest&quot;:&quot;https://bbs.csdn.net/&quot;,&quot;spm&quot;:&quot;3001.6068&quot;}" data-report-query="spm=3001.6068" href="https://bbs.csdn.net/">
                                  社区
                                  
                                  
                                </a>
                                
                                
                              </li><li class="" title="认证你的技术能力">
                                <a data-report-click="{&quot;mod&quot;:&quot;popu_336&quot;,&quot;dest&quot;:&quot;https://ac.csdn.net/?short_code=13271b93&quot;,&quot;spm&quot;:&quot;3001.5716&quot;}" data-report-query="spm=3001.5716" href="https://ac.csdn.net/?short_code=13271b93">
                                  认证
                                  
                                  
                                </a>
                                
                                
                              </li><li class="" title="开源">
                                <a data-report-click="{&quot;mod&quot;:&quot;&quot;,&quot;dest&quot;:&quot;https://git.csdn.net/&quot;,&quot;spm&quot;:&quot;3001.6768&quot;}" data-report-query="spm=3001.6768" href="https://git.csdn.net/">
                                  开源
                                  
                                  
                                </a>
                                
                                
                              </li><li class="" title="简单高效优惠的云服务">
                                <a data-report-click="{&quot;mod&quot;:&quot;popu_336&quot;,&quot;dest&quot;:&quot;https://bbs.csdn.net/&quot;,&quot;spm&quot;:&quot;3001.8290&quot;}" data-report-query="spm=3001.8290" href="https://dev-portal.csdn.net/welcome?utm_source=toolbar">
                                  云服务
                                  <img style="vertical-align: middle; width: 19px;margin-top: -1px;" "="" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20220518113849.png">
                                  
                                </a>
                                
                                
                              </li></ul>
                        </div>
                        <div class="toolbar-container-middle">
                        <div class="toolbar-search onlySearch"><div class="toolbar-search-container">
                    <span class="icon-fire" style="display: block;"></span>
                    <input id="toolbar-search-input" autocomplete="off" type="text" value="" placeholder="开发语言" style="text-indent: 32px;">
                    <button id="toolbar-search-button"><i></i><span>搜索</span></button>
                    <input type="password" autocomplete="new-password" readonly="" disabled="true" style="display: none; position:absolute;left:-9999999px;width:0;height:0;">
                  </div></div></div>
                        <div class="toolbar-container-right">
                          <div class="toolbar-btns onlyUser"><div class="toolbar-btn toolbar-btn-login csdn-toolbar-fl ">
                       <a data-report-click="{&quot;spm&quot;:&quot;3001.5105&quot;}" data-report-query="spm=3001.5105" href="https://passport.csdn.net/account/login">登录/注册</a>
                      <div id="csdn-toolbar-profile-nologin" class="csdn-toolbar-plugin" style="opacity: 1; display: none;">
                <div class="csdn-toolbar-plugin-triangle"></div>
                <div class="csdn-toolbar-profile-title">登录后您可以：</div>
                <ul class="csdn-profile-top">
                <li class="csdn-profile-a"><i class="csdn-profile-icon" style="background-image: url(https://img-home.csdnimg.cn/images/20220208105133.png); "></i>免费复制代码</li><li class="csdn-profile-a"><i class="csdn-profile-icon" style="background-image: url(https://img-home.csdnimg.cn/images/20220208105144.png); "></i>关注/点赞/评论/收藏</li><li class="csdn-profile-a"><i class="csdn-profile-icon" style="background-image: url(https://img-home.csdnimg.cn/images/20220208105156.png); "></i>下载海量资源</li><li class="csdn-profile-a"><i class="csdn-profile-icon" style="background-image: url(https://img-home.csdnimg.cn/images/20220208105204.png); "></i>写文章/发动态/加入社区</li>
                </ul>
                <a href="https://passport.csdn.net/account/login" class="csdn-toolbar-loginbtn">立即登录</a>
          </div></div>
                    <div class="toolbar-btn toolbar-btn-vip csdn-toolbar-fl">
                      <a data-report-click="{&quot;mod&quot;:&quot;popu_336&quot;,&quot;dest&quot;:&quot;https://mall.csdn.net/vip&quot;,&quot;spm&quot;:&quot;3001.4496&quot;}" data-report-query="spm=3001.4496" href="https://mall.csdn.net/vip">会员中心 <img style="position: relative; vertical-align: middle; width: 14px; top: -2px; left: 0px;;display:inline-block" "="" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20210918025138.gif"></a>
                      </div>
                    <div class="toolbar-btn toolbar-btn-collect csdn-toolbar-fl">
                      <a data-report-click="{&quot;spm&quot;:&quot;3001.7480&quot;}" data-report-query="spm=3001.7480" href="https://i.csdn.net/#/user-center/collection-list?type=1">足迹</a>
                    </div>
                    <div class="toolbar-btn toolbar-btn-dynamic csdn-toolbar-fl"><a data-report-click="{&quot;spm&quot;:&quot;3001.4507&quot;}" data-report-query="spm=3001.4507" href="https://blink.csdn.net/">动态</a></div>
                    
                    <div class="toolbar-btn toolbar-btn-write csdn-toolbar-fl ">
                    <a data-report-click="{&quot;spm&quot;:&quot;3001.7765&quot;}" data-report-query="spm=3001.7765" href="https://mp.csdn.net/" class="btn-write-new"></a></div></div>
                        </div>
                      </div>
                    </div>
                  </div>
        <script>
            var toolbarSearchExt = '{"landingWord":["java8 方法区"],"queryWord":"","tag":["java","开发语言","后端"],"title":"【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了"}';
        </script>
    <script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/csdn-toolbar.js.下载" type="text/javascript"></script>
    <script>
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
    </script>
<link rel="stylesheet" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/blog_code-01256533b5.min.css">
<link rel="stylesheet" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/chart-3456820cac.css">

<script>
    var articleId = 123069879;
    var commentscount = 0;
    var curentUrl = "https://blog.csdn.net/qq_31635851/article/details/123069879";
    var myUrl = "https://my.csdn.net/";
    var highlight = ["java8","java","常量池","终于","开发","常量","结构","语言","搞懂","后端","方法","再也","内存","纠结","的","了","和","，","不","后","【","】","池","端","8","区"];//高亮数组
    var isRecommendModule = true;
    var isBaiduPre = true;
    var baiduCount = 2;
    var setBaiduJsCount = 10;
    var share_card_url = "https://app-blog.csdn.net/share?article_id=123069879&username=qq_31635851"
	var articleType = 2;
    var baiduKey = "java8 方法区";
    var userNewReport = true;
    var needInsertBaidu = true;
    var recommendRegularDomainArr = ["blog.csdn.net/.+/article/details/","download.csdn.net/download/","edu.csdn.net/course/detail/","ask.csdn.net/questions/","bbs.csdn.net/topics/","www.csdn.net/gather_.+/"]
    var codeStyle = "github-gist";
    var baiduSearchType = "baidulandingword";
    var canRead = true;
    var blogMoveHomeArticle = false;
    var showPcWindowAd = false;
    var showHeadWord = true;
    var showSearchText = "";
    var linkPage = true;
    var articleSource = 1;
    var articleReport = '{"pid": "blog", "spm":"1001.2101"}';
    var isShowToQuestion = false;
    var baiduSearchChannel = 'pc_relevant'
    var baiduSearchIdentification = '.pc_relevant_default'
    var distRequestId = '1653264762438_70662'
    var initRewardObject = {
        giver: currentUserName,
        anchor: username,
        articleId: articleId,
        sign: ''
    }
    var isLikeStatus = false;
    var isUnLikeStatus = false;
    var studyLearnWord = "";
    var isCurrentUserVip = false;
    var commentIsNewBeat = "oldStyle"
</script>
<div class="main_father clearfix d-flex justify-content-center" style="height: auto !important;"> 
    <div class="container clearfix" id="mainBox">
        <script>
        if(!isCookieConcision){
            $('.main_father').removeClass('mainfather-concision')
            $('.main_father .container').removeClass('container-concision')
        }
        </script>
        <main>
<script type="text/javascript">
    function getQueryString(name) {   
      var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象  
      var r = window.location.search.substr(1).match(reg);  //匹配目标参数
      if( r != null ) return decodeURIComponent( r[2] ); return '';   
    }
    function stripscript(s){ 
      var pattern = new RegExp("[`~!@#$^&*()=|{}':;',\\[\\].<>/?~！@#￥……&*（）——|{}【】‘；：”“'。，、？%]") 
      var rs = ""; 
      for (var i = 0; i < s.length; i++) { 
        rs = rs+s.substr(i, 1).replace(pattern, ''); 
      } 
      return rs; 
    }
    var blogHotWords = stripscript(getQueryString('utm_term')).length > 1 ? stripscript(getQueryString('utm_term')) : ''
</script>
<div class="blog-content-box">
        <div class="article-header-box">
        <div class="article-header">
            <div class="article-title-box">
                <h1 class="title-article" id="articleContentId">【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了</h1>
            </div>
            <div class="article-info-box">
                <div class="article-bar-top">
                    <img class="article-type-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/reprint.png" alt="">
                    <div class="bar-content">
                    <a class="follow-nickName " href="https://moonce.blog.csdn.net/" target="_blank" rel="noopener">猫巳</a>
                    <img class="article-time-img article-heard-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/newUpTime2.png" alt="">
                    <span class="time">已于&nbsp;2022-02-22 16:16:49&nbsp;修改</span>
                    <img class="article-read-img article-heard-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/articleReadEyes2.png" alt="">
                    <span class="read-count">61</span>
                    <a id="blog_detail_zk_collection" class="un-collection" data-report-click="{&quot;mod&quot;:&quot;popu_823&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4232&quot;,&quot;ab&quot;:&quot;new&quot;}">
                        <img class="article-collect-img article-heard-img un-collect-status isdefault" style="display:inline-block" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/tobarCollect2.png" alt="">
                        <img class="article-collect-img article-heard-img collect-status isactive" style="display:none" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/tobarCollectionActive2.png" alt="">
                        <span class="name">收藏</span>
                        <span class="get-collection">
                        </span>
                    </a>
                    </div>
                </div>
                <div class="blog-tags-box">
                    <div class="tags-box artic-tag-box">
                            <span class="label">分类专栏：</span>
                                <a class="tag-link" href="https://blog.csdn.net/qq_31635851/category_10653673.html" target="_blank" rel="noopener"># Java 8</a>
                            <span class="label">文章标签：</span>
                                <a data-report-click="{&quot;mod&quot;:&quot;popu_626&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4223&quot;,&quot;strategy&quot;:&quot;java&quot;,&quot;ab&quot;:&quot;new&quot;}" class="tag-link" href="https://so.csdn.net/so/search/s.do?q=java&amp;t=blog&amp;o=vip&amp;s=&amp;l=&amp;f=&amp;viparticle=" target="_blank" rel="noopener">java</a>
                                <a data-report-click="{&quot;mod&quot;:&quot;popu_626&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4223&quot;,&quot;strategy&quot;:&quot;开发语言&quot;,&quot;ab&quot;:&quot;new&quot;}" class="tag-link" href="https://so.csdn.net/so/search/s.do?q=%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80&amp;t=blog&amp;o=vip&amp;s=&amp;l=&amp;f=&amp;viparticle=" target="_blank" rel="noopener">开发语言</a>
                                <a data-report-click="{&quot;mod&quot;:&quot;popu_626&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4223&quot;,&quot;strategy&quot;:&quot;后端&quot;,&quot;ab&quot;:&quot;new&quot;}" class="tag-link" href="https://so.csdn.net/so/search/s.do?q=%E5%90%8E%E7%AB%AF&amp;t=blog&amp;o=vip&amp;s=&amp;l=&amp;f=&amp;viparticle=" target="_blank" rel="noopener">后端</a>
                    </div>
                </div>
                <div class="up-time"><span>于&nbsp;2022-02-22 15:57:44&nbsp;首次发布</span></div>
                <div class="slide-content-box">
                    <div class="article-source-link">
                        原文链接：<a href="https://mp.weixin.qq.com/s/yCkcEO-Ga7GhqFtfIBhNTw" target="_blank" rel="noopener">https://mp.weixin.qq.com/s/yCkcEO-Ga7GhqFtfIBhNTw</a>
                    </div>
                </div>
                <div class="operating">
                    <a class="href-article-edit slide-toggle">版权</a>
                </div>
            </div>
        </div>
    </div>
        <div id="blogColumnPayAdvert">
            <div class="column-group">
                <div class="column-group-item column-group0 column-group-item-one">
                    <div class="item-l">
                        <a class="item-target" href="https://blog.csdn.net/qq_31635851/category_10653673.html" target="_blank" title="Java 8" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.6332&quot;}">
                            <img class="item-target" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20201211144711512.png" alt="">
                            <span class="title item-target">
                                <span>
                                <span class="tit">Java 8</span>
                                    <span class="dec">专栏收录该内容</span>
                                </span>
                            </span>
                        </a>
                    </div>
                    <div class="item-m">
                        <span>102 篇文章</span>
                        <span>16 订阅</span>
                    </div>
                    <div class="item-r">
                            <a class="item-target article-column-bt articleColumnFreeBt" data-id="10653673">订阅专栏</a>
                    </div>
                </div>
            </div>
        </div>
    <article class="baidu_pl">
        <div id="article_content" class="article_content clearfix">
        <link rel="stylesheet" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/ck_htmledit_views-163de54645.css">
                <div id="content_views" class="markdown_views prism-github-gist">
                    <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
                        <path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                    </svg>
                    <p></p>
<div class="toc">
 <h3><a name="t0"></a>文章目录</h3>
 <ul><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#java8_2" target="_self">java8内存结构图</a></li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#_4" target="_self">虚拟机内存与本地内存的区别</a></li><li><ul><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#JVM_6" target="_self">JVM内存</a></li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#_9" target="_self">本地内存</a></li></ul>
  </li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#java_13" target="_self">java运行时数据区域</a></li><li><ul><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#Program_Counter_Register_16" target="_self">程序计数器（Program Counter Register）</a></li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#JVM_Stacks_21" target="_self">虚拟机栈（JVM Stacks）</a></li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#_36" target="_self">虚拟机栈可能会抛出两种异常：</a></li></ul>
  </li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#Native_Method_Stacks_40" target="_self">本地方法栈（Native Method Stacks）</a></li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#JavaJava_Heap_44" target="_self">Java堆（Java Heap）</a></li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#Method_Area_61" target="_self">方法区(Method Area)</a></li><li><ul><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#Klass_66" target="_self">类元信息（Klass）</a></li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#Runtime_Constant_Pool_69" target="_self">运行时常量池（Runtime Constant Pool）</a></li></ul>
  </li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#_73" target="_self">直接内存</a></li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#_78" target="_self">常见问题</a></li><li><ul><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#Native_79" target="_self">什么是Native方法？</a></li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#_82" target="_self">成员变量、局部变量、类变量分别存储在内存的什么地方？</a></li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#final_95" target="_self">由final修饰的常量存放在哪里？</a></li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#_98" target="_self">类常量池、运行时常量池、字符串常量池有什么关系？有什么区别？</a></li><li><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#_105" target="_self">什么是字面量？什么是符号引用？</a></li></ul>
 </li></ul>
</div>
<p></p> 
<h1><a name="t1"></a><a id="java8_2"></a>java8内存结构图</h1> 
<p><img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/b3f02688905d45579bf57d9a912ed7b6.webp" alt="请添加图片描述"></p> 
<h1><a name="t2"></a><a id="_4"></a><a href="https://so.csdn.net/so/search?q=%E8%99%9A%E6%8B%9F%E6%9C%BA&amp;spm=1001.2101.3001.7020" target="_blank" class="hl hl-1" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.7020&quot;,&quot;dest&quot;:&quot;https://so.csdn.net/so/search?q=%E8%99%9A%E6%8B%9F%E6%9C%BA&amp;spm=1001.2101.3001.7020&quot;}" data-tit="虚拟机" data-pretit="虚拟机">虚拟机</a>内存与本地内存的区别</h1> 
<p>Java虚拟机在执行的时候会把管理的内存分配成不同的区域，这些区域被称为虚拟机内存，同时，对于虚拟机没有直接管理的物理内存，也有一定的利用，这些被利用却不在虚拟机内存数据区的内存，我们称它为本地内存，这两种内存有一定的区别：</p> 
<h2><a name="t3"></a><a id="JVM_6"></a><a href="https://so.csdn.net/so/search?q=JVM&amp;spm=1001.2101.3001.7020" target="_blank" class="hl hl-1" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.7020&quot;,&quot;dest&quot;:&quot;https://so.csdn.net/so/search?q=JVM&amp;spm=1001.2101.3001.7020&quot;}" data-tit="JVM" data-pretit="jvm">JVM</a>内存</h2> 
<ul><li>受虚拟机内存大小的参数控制，当大小超过参数设置的大小时就会报OOM</li></ul> 
<h2><a name="t4"></a><a id="_9"></a>本地内存</h2> 
<ul><li>本地内存不受虚拟机内存参数的限制，只受物理内存容量的限制</li><li>虽然不受参数的限制，但是如果内存的占用超出物理内存的大小，同样也会报OOM</li></ul> 
<h1><a name="t5"></a><a id="java_13"></a>java运行时数据区域</h1> 
<p>java虚拟机在执行过程中会将所管理的内存划分为不同的区域，有的随着线程产生和消失，有的随着java进程产生和消失，根据《Java虚拟机规范》的规定，运行时数据区分为以下一个区域：</p> 
<h2><a name="t6"></a><a id="Program_Counter_Register_16"></a><a href="https://so.csdn.net/so/search?q=%E7%A8%8B%E5%BA%8F%E8%AE%A1%E6%95%B0%E5%99%A8&amp;spm=1001.2101.3001.7020" target="_blank" class="hl hl-1" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.7020&quot;,&quot;dest&quot;:&quot;https://so.csdn.net/so/search?q=%E7%A8%8B%E5%BA%8F%E8%AE%A1%E6%95%B0%E5%99%A8&amp;spm=1001.2101.3001.7020&quot;}" data-tit="程序计数器" data-pretit="程序计数器">程序计数器</a>（Program Counter Register）</h2> 
<p>程序计数器就是当前线程所执行的字节码的行号指示器，通过改变计数器的值，来选取下一行指令，通过他来实现跳转、循环、恢复线程等功能。</p> 
<ul><li>在任何时刻，一个处理器内核只能运行一个线程，多线程是通过线程轮流切换，分配时间来完成的，这就需要有一个标志来记住每个线程执行到了哪里，这里便需要到了程序计数器。</li><li>所以，程序计数器是线程私有的，每个线程都已自己的程序计数器。</li></ul> 
<h2><a name="t7"></a><a id="JVM_Stacks_21"></a>虚拟机栈（JVM Stacks）</h2> 
<p><img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/9921c767b944438e86d27c23a03f562c.webp" alt="请添加图片描述"><br> <code>虚拟机栈是线程私有的，随线程生灭。虚拟机栈描述的是线程中的方法的内存模型：</code></p> 
<p>每个方法被执行的时候，都会在虚拟机栈中同步创建一个栈帧（stack frame）。</p> 
<p>每个栈帧的包含如下的内容</p> 
<ul><li>局部变量表 
  <ul><li>局部变量表中存储着方法里的java基本数据类型（<code>byte</code>/<code>boolean</code>/<code>char</code>/<code>int</code>/<code>long</code>/<code>double</code>/<code>float</code>/<code>short</code>）以及对象的引用（注：这里的基本数据类型指的是方法内的局部变量）</li></ul> </li><li>操作数栈</li><li>动态连接</li><li>方法返回地址</li></ul> 
<p>方法被执行时入栈，执行完后出栈</p> 
<h2><a name="t8"></a><a id="_36"></a>虚拟机栈可能会抛出两种异常：</h2> 
<ul><li>如果线程请求的栈深度大于虚拟机所规定的栈深度，则会抛出StackOverFlowError即栈溢出</li><li>如果虚拟机的栈容量可以动态扩展，那么当虚拟机栈申请不到内存时会抛出OutOfMemoryError即OOM内存溢出</li></ul> 
<h1><a name="t9"></a><a id="Native_Method_Stacks_40"></a>本地方法栈（<a href="https://so.csdn.net/so/search?q=Native&amp;spm=1001.2101.3001.7020" target="_blank" class="hl hl-1" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.7020&quot;,&quot;dest&quot;:&quot;https://so.csdn.net/so/search?q=Native&amp;spm=1001.2101.3001.7020&quot;}" data-tit="Native" data-pretit="native">Native</a> Method Stacks）</h1> 
<p>本地方法栈与虚拟机栈的作用是相似的,都会抛出OutOfMemoryError和StackOverFlowError，都是线程私有的，主要的区别在于：</p> 
<ul><li>虚拟机栈执行的是java方法</li><li>本地方法栈执行的是native方法(什么是Native方法？)</li></ul> 
<h1><a name="t10"></a><a id="JavaJava_Heap_44"></a>Java堆（Java Heap）</h1> 
<p>java堆是JVM内存中最大的一块，由所有线程共享,是由垃圾收集器管理的内存区域，主要存放对象实例，当然由于java虚拟机的发展，堆中也多了许多东西，现在主要有：</p> 
<ul><li>对象实例 
  <ul><li>类初始化生成的对象</li><li>基本数据类型的数组也是对象实例</li></ul> </li><li>字符串常量池 
  <ul><li>字符串常量池原本存放于方法区，jdk7开始放置于堆中。</li><li>字符串常量池存储的是string对象的直接引用，而不是直接存放的对象，是一张string table</li></ul> </li><li>静态变量 
  <ul><li>静态变量是有static修饰的变量，jdk7时从方法区迁移至堆中</li></ul> </li><li>线程分配缓冲区（Thread Local Allocation Buffer） 
  <ul><li>线程私有，但是不影响java堆的共性</li><li>增加线程分配缓冲区是为了提升对象分配时的效率</li></ul> </li></ul> 
<p>java堆既可以是固定大小的，也可以是可扩展的（通过参数<code>-Xmx</code>和<code>-Xms</code>设定），如果堆无法扩展或者无法分配内存时也会报<code>OOM</code>。</p> 
<h1><a name="t11"></a><a id="Method_Area_61"></a>方法区(Method Area)</h1> 
<p>方法区绝对是网上所有关于java内存结构文章争论的焦点，因为方法区的实现在java8做了一次大革新，现在我们来讨论一下：</p> 
<p>方法区是所有线程共享的内存，在java8以前是放在JVM内存中的，由永久代实现，受JVM内存大小参数的限制，在java8中移除了永久代的内容，方法区由元空间(Meta Space)实现，并直接放到了本地内存中，不受JVM参数的限制（当然，如果物理内存被占满了，方法区也会报OOM），并且将原来放在方法区的字符串<a href="https://so.csdn.net/so/search?q=%E5%B8%B8%E9%87%8F%E6%B1%A0&amp;spm=1001.2101.3001.7020" target="_blank" class="hl hl-1" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.7020&quot;,&quot;dest&quot;:&quot;https://so.csdn.net/so/search?q=%E5%B8%B8%E9%87%8F%E6%B1%A0&amp;spm=1001.2101.3001.7020&quot;}" data-tit="常量池" data-pretit="常量池">常量池</a>和静态变量都转移到了Java堆中，方法区与其他区域不同的地方在于，方法区在编译期间和类加载完成后的内容有少许不同，不过总的来说分为这两部分：</p> 
<h2><a name="t12"></a><a id="Klass_66"></a>类元信息（Klass）</h2> 
<ul><li>类元信息在类编译期间放入方法区，里面放置了类的基本信息，包括类的版本、字段、方法、接口以及常量池表（Constant Pool Table）</li><li>常量池表（Constant Pool Table）存储了类在编译期间生成的字面量、符号引用(什么是字面量？什么是符号引用？)，这些信息在类加载完后会被解析到运行时常量池中</li></ul> 
<h2><a name="t13"></a><a id="Runtime_Constant_Pool_69"></a>运行时常量池（Runtime Constant Pool）</h2> 
<ul><li>运行时常量池主要存放在类加载后被解析的字面量与符号引用，但不止这些</li><li>运行时常量池具备动态性，可以添加数据，比较多的使用就是String类的intern()方法</li></ul> 
<h1><a name="t14"></a><a id="_73"></a>直接内存</h1> 
<p>直接内存位于本地内存，不属于JVM内存，但是也会在物理内存耗尽的时候报OOM,所以也讲一下。</p> 
<p>在jdk1.4中加入了NIO（New Input/Putput）类，引入了一种基于通道（channel）与缓冲区（buffer）的新IO方式，它可以使用native函数直接分配堆外内存，然后通过存储在java堆中的DirectByteBuffer对象作为这块内存的引用进行操作，这样可以在一些场景下大大提高IO性能，避免了在java堆和native堆来回复制数据。</p> 
<h1><a name="t15"></a><a id="_78"></a>常见问题</h1> 
<h2><a name="t16"></a><a id="Native_79"></a>什么是Native方法？</h2> 
<p>由于java是一门高级语言，离硬件底层比较远，有时候无法操作底层的资源，于是，java添加了native关键字，被native关键字修饰的方法可以用其他语言重写，这样，我们就可以写一个本地方法，然后用C语言重写，这样来操作底层资源。当然，使用了native方法会导致系统的可移植性不高，这是需要注意的。</p> 
<h2><a name="t17"></a><a id="_82"></a>成员变量、局部变量、类变量分别存储在内存的什么地方？</h2> 
<p><strong>类变量</strong></p> 
<ul><li>类变量是用static修饰符修饰，定义在方法外的变量，随着java进程产生和销毁</li><li>在java8之前把静态变量存放于方法区，在java8时存放在堆中</li></ul> 
<p><strong>成员变量</strong></p> 
<ul><li>成员变量是定义在类中，但是没有static修饰符修饰的变量，随着类的实例产生和销毁，是类实例的一部分</li><li>由于是实例的一部分，在类初始化的时候，从运行时常量池取出直接引用或者值，与初始化的对象一起放入堆中</li></ul> 
<p><strong>局部变量</strong></p> 
<ul><li>局部变量是定义在类的方法中的变量</li><li>在所在方法被调用时放入虚拟机栈的栈帧中，方法执行结束后从虚拟机栈中弹出，所以存放在虚拟机栈中</li></ul> 
<h2><a name="t18"></a><a id="final_95"></a>由final修饰的常量存放在哪里？</h2> 
<p>final关键字并不影响在内存中的位置，具体位置请参考上一问题。</p> 
<h2><a name="t19"></a><a id="_98"></a>类常量池、运行时常量池、字符串常量池有什么关系？有什么区别？</h2> 
<p>类常量池与运行时常量池都存储在方法区，而字符串常量池在jdk7时就已经从方法区迁移到了java堆中。</p> 
<p>在类编译过程中，会把类元信息放到方法区，类元信息的其中一部分便是类常量池，主要存放字面量和符号引用，而字面量的一部分便是文本字符，在类加载时将字面量和符号引用解析为直接引用存储在运行时常量池；</p> 
<p>对于文本字符来说，它们会在解析时查找字符串常量池，查出这个文本字符对应的字符串对象的直接引用，将直接引用存储在运行时常量池；字符串常量池存储的是字符串对象的引用，而不是字符串本身。</p> 
<h2><a name="t20"></a><a id="_105"></a>什么是字面量？什么是符号引用？</h2> 
<p><strong>字面量</strong><br> java代码在编译过程中是无法构建引用的，字面量就是在编译时对于数据的一种表示:</p> 
<pre class="prettyprint"><code class="prism language-java has-numbering" onclick="mdcp.signin(event)" style="position: unset;"><span class="token keyword">int</span> a<span class="token operator">=</span><span class="token number">1</span><span class="token punctuation">;</span><span class="token comment">//这个1便是字面量</span>
<span class="token class-name">String</span> b<span class="token operator">=</span><span class="token string">"iloveu"</span><span class="token punctuation">;</span><span class="token comment">//iloveu便是字面量</span>
<div class="hljs-button signin" data-title="登录后复制" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.4334&quot;}"></div></code><ul class="pre-numbering" style=""><li style="color: rgb(153, 153, 153);">1</li><li style="color: rgb(153, 153, 153);">2</li></ul></pre> 
<p><strong>符号引用</strong><br> 由于在编译过程中并不知道每个类的地址，因为可能这个类还没有加载，所以如果你在一个类中引用了另一个类，那么你完全无法知道他的内存地址，那怎么办，我们只能用他的类名作为符号引用，在类加载完后用这个符号引用去获取他的内存地址。</p> 
<p>例子：我在<code>com.demo.Solution</code>类中引用了<code>com.test.Quest</code>，那么我会把<code>com.test.Quest</code>作为符号引用存到类常量池，等类加载完后，拿着这个引用去方法区找这个类的内存地址。</p> 
<blockquote> 
 <p>作者：lei6393<br> https://urlify.cn/zqMjUn</p> 
</blockquote>
                </div><div><div></div></div>
                <link href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/markdown_views-3fd7f7a902.css" rel="stylesheet">
                <link href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/style-49037e4d27.css" rel="stylesheet">
        </div>
        
    </article>
  <script>
  $(function() {
    setTimeout(function () {
      var mathcodeList = document.querySelectorAll('.htmledit_views img.mathcode');
      if (mathcodeList.length > 0) {
        var testImg = new Image();
        testImg.onerror = function () {
          mathcodeList.forEach(function (item) {
            $(item).before('<span class="img-codecogs">\\(' + item.alt + '\\)</span>');
            $(item).remove();
          })
          MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
        }
        testImg.src = mathcodeList[0].src;
      }
    }, 1000)
  })
  </script>
</div>
<div class="more-toolbox-new more-toolbox-active" id="toolBarBox">
    <div class="left-toolbox" style="position: fixed; z-index: 999; left: 450.5px; bottom: 0px; width: 1010px;">
        <div class="toolbox-left">
            <div class="profile-box"><a class="profile-href" target="_blank" href="https://moonce.blog.csdn.net/"><img class="profile-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/3_qq_31635851"><span class="profile-name">猫巳</span></a></div>
            <div class="profile-attend">
                    <a class="tool-attend tool-bt-button tool-bt-attend" href="javascript:;">关注</a>
                <a class="tool-item-follow active-animation" style="display:none;">关注</a>
            </div>
        </div>
        <div class="toolbox-middle">
        <ul class="toolbox-list">
            <li class="tool-item tool-item-size tool-active is-like" id="is-like">
            <a class="tool-item-href">
                <img style="display:none;" id="is-like-imgactive-animation-like" class="animation-dom active-animation" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/tobarThumbUpactive.png" alt="">
                <img class="isactive" style="display:none" id="is-like-imgactive" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/newHeart2021Active.png" alt="">
                <img class="isdefault" style="display:block" id="is-like-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/newHeart2021White.png" alt="">  
                <span id="spanCount" class="count ">
                        1
                </span>
            </a>
            <div class="tool-hover-tip"><span class="text space">点赞</span></div>
            </li>
            <li class="tool-item tool-item-size tool-active is-unlike" id="is-unlike">
            <a class="tool-item-href">
                <img class="isactive" style="margin-right:0px;display:none" id="is-unlike-imgactive" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/newUnHeart2021Active.png" alt="">
                <img class="isdefault" style="margin-right:0px;display:block" id="is-unlike-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/newUnHeart2021White.png" alt="">
                <span id="unlikeCount" class="count "></span>
            </a>
            <div class="tool-hover-tip"><span class="text space">踩</span></div>
            </li>
            <li class="tool-item tool-item-size tool-active tool-item-comment">
            <a class="tool-item-href" href="https://blog.csdn.net/qq_31635851/article/details/123069879#commentBox" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.7009&quot;}">
                <img class="isdefault" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/newComment2021White.png" alt="">
                <span class="count">
                    0
                </span>
            </a>
            <div class="tool-hover-tip"><span class="text space">评论</span></div>
            </li>
            <li class="tool-item tool-item-size tool-active is-collection ">
            <a class="tool-item-href" href="javascript:;" data-report-click="{&quot;mod&quot;:&quot;popu_824&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4130&quot;,&quot;ab&quot;:&quot;new&quot;}">
                <img style="display:none" id="is-collection-img-collection" class="animation-dom active-animation" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/tobarCollectionActive.png" alt="">
                <img class="isdefault" id="is-collection-img" style="display:block" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/newCollectWhite.png" alt="">
                <img class="isactive" id="is-collection-imgactive" style="display:none" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/newCollectActive.png" alt="">
                <span class="count get-collection " id="get-collection">
                    0
                </span>
            </a>
            <div class="tool-hover-tip"><span class="text space">收藏</span></div>
            </li>
            <li class="tool-item tool-item-bar">
            </li>
            <li class="tool-item tool-item-size tool-active tool-QRcode" id="tool-share">
                <a class="tool-item-href" href="javascript:;" data-report-click="{&quot;mod&quot;:&quot;1582594662_002&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4129&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <img class="isdefault" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/newShareWhite.png" alt="">
                </a>
                <div class="QRcode" id="tool-QRcode">
                    <p class="title">
                    扫一扫，分享内容
                    </p>
                    <div id="shareCode"></div>
                    <a id="copyPosterUrl" class="url" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.7493&quot;}" data-report-view="{&quot;spm&quot;:&quot;1001.2101.3001.7493&quot;}">点击复制链接</a>
                </div>
            </li>
        </ul>
        </div>
        <div class="toolbox-right">
                <div class="tool-directory">
                    <a class="bt-columnlist-show" data-id="10653673" data-free="true" data-subscribe="false" data-title="Java 8" data-img="https://img-blog.csdnimg.cn/20201211144711512.png?x-oss-process=image/resize,m_fixed,h_224,w_224" data-url="https://blog.csdn.net/qq_31635851/category_10653673.html" data-sum="102" data-people="16" data-price="0" data-oldprice="0" data-join="false" data-studyvip="false" data-studysubscribe="false" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.6334&quot;,&quot;extend1&quot;:&quot;专栏目录&quot;}">专栏目录</a>
                </div>
        </div>
    </div>  
</div>
<script type="text/javascript" crossorigin="" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/qrcode-7c90a92189.min.js.下载"></script>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/saved_resource(2)" type="text/javascript"></script>
<script type="text/javascript" crossorigin="" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/user-login.js.下载"></script>
<script type="text/javascript" crossorigin="" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/collection-box.js.下载"></script>
                <div class="first-recommend-box recommend-box">
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_32424555/article/details/114246159">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_32424555/article/details/114246159" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6661.1&quot;,&quot;mod&quot;:&quot;popu_871&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant_t0.none-task-blog-2~default~CTRLIST~default-1-114246159-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;1&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_32424555/article/details/114246159&quot;}" data-report-query="spm=1001.2101.3001.6661.1&amp;utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-114246159-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-114246159-blog-123069879.pc_relevant_default&amp;utm_relevant_index=1">
					<div class="left ellipsis-online ellipsis-online-1"><em>java</em><em>常量池</em>_<em>Java</em><em>常量池</em>详解之抓狂<em>的</em>面试题</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_32424555" target="_blank" data-report-query="spm=1001.2101.3001.6661.1&amp;utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-114246159-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-114246159-blog-123069879.pc_relevant_default&amp;utm_relevant_index=1"><span class="blog-title">weixin_32424555的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">02-16</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					35
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_32424555/article/details/114246159" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6661.1&quot;,&quot;mod&quot;:&quot;popu_871&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant_t0.none-task-blog-2~default~CTRLIST~default-1-114246159-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;1&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_32424555/article/details/114246159&quot;}" data-report-query="spm=1001.2101.3001.6661.1&amp;utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-114246159-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-114246159-blog-123069879.pc_relevant_default&amp;utm_relevant_index=1">
				<div class="desc ellipsis-online ellipsis-online-1">今天My partner问我一个让他头疼<em>的</em><em>Java</em> question<em>，</em>求输出结果：/****@authorDreamSea2011-11-19*/publicclassIntegerTest{publicstaticvoidmain(String[]args){objPoolTest();}publicstaticvoidobjPoolTest(){Integeri1=40;I...</div>
			</a>
		</div>
	</div>
</div>
                </div>
            <script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/pc_wap_commontools-6cd02ebed1.min.js.下载" type="text/javascript" async=""></script>
            <div class="second-recommend-box recommend-box">
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/csdn_1107/article/details/110119898">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/csdn_1107/article/details/110119898" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.1&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-1-110119898-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;1&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/csdn_1107/article/details/110119898&quot;}" data-report-query="spm=1001.2101.3001.6650.1&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-110119898-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-110119898-blog-123069879.pc_relevant_default&amp;utm_relevant_index=2">
					<div class="left ellipsis-online ellipsis-online-1">JDK<em>8</em><em>方法</em><em>区</em>及<em>常量池</em><em>的</em>变化</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/csdn_1107" target="_blank" data-report-query="spm=1001.2101.3001.6650.1&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-110119898-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-110119898-blog-123069879.pc_relevant_default&amp;utm_relevant_index=2"><span class="blog-title">csdn_1107的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">11-26</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					872
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/csdn_1107/article/details/110119898" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.1&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-1-110119898-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;1&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/csdn_1107/article/details/110119898&quot;}" data-report-query="spm=1001.2101.3001.6650.1&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-110119898-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1-110119898-blog-123069879.pc_relevant_default&amp;utm_relevant_index=2">
				<div class="desc ellipsis-online ellipsis-online-1"><em>Java</em>虚拟机在执行<em>Java</em>程序<em>的</em>过程中会把它所管理<em>的</em><em>内存</em>划分为若干个<em>不</em>同<em>的</em>数据<em>区</em>域<em>，</em>所管理<em>的</em><em>内存</em>将会包括以下几个运行时数据<em>区</em>域：

（图片来源于《深入理解<em>Java</em>虚拟机》）
<em>方法</em><em>区</em><em>的</em>定义：
jdk<em>8</em>虚拟机规范中对<em>方法</em><em>区</em><em>的</em>定义：

<em>方法</em><em>区</em>是各个线程共享<em>的</em><em>内存</em><em>区</em>域<em>，</em>它存储每个类<em>的</em><em>结构</em>信息<em>，</em>例如运行时<em>常量池</em><em>，</em>字段（通过引用<em>常量池</em>中<em>的</em><em>常量</em>来描述）<em>和</em><em>方法</em>等数据<em>，</em>以及<em>方法</em><em>和</em>构造函数<em>的</em>代码<em>，</em>包括用于类<em>和</em>实例初始化以及接口初始化<em>的</em>特殊<em>方法</em>。
其中灰色部分：<em>方法</em><em>区</em>域是在虚拟机启动时创建<em>的</em>。尽管<em>方法</em><em>区</em>域在逻辑上是堆<em>的</em>一部分<em>，</em></div>
			</a>
		</div>
	</div>
</div>
            </div>
<a id="commentBox" name="commentBox"></a>
<div id="pcCommentBox" class="comment-box comment-box-new unlogin-comment-box-new">
	<div class="unlogin-comment-model">
			<span class="unlogin-comment-tit">参与评论</span>
			<span class="unlogin-comment-text">您还未登录，请先</span>
			<span class="unlogin-comment-bt">登录</span>
			<span class="unlogin-comment-text">后发表或查看评论</span>
	</div>
</div>
            <div class="recommend-box insert-baidu-box recommend-box-style">
                <div class="recommend-item-box clearfix no-index" style="display:none"></div><div class="recommend-item-box baiduSearch clearfix" data-type="blog">	                <div class="content-box">		                <div class="content-blog display-flex">			                  <div class="title-box">				                  <a class="tit" href="https://blog.csdn.net/itfly8/article/details/115986781" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-0-115986781-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;,\&quot;parent_index\&quot;:\&quot;0\&quot;}&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4242.1&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/itfly8/article/details/115986781&quot;,&quot;strategy&quot;:&quot;2~default~baidujs_baidulandingword~default&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;index&quot;:&quot;0&quot;}" data-report-query="utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-0-115986781-blog-123069879.pc_relevant_default&amp;spm=1001.2101.3001.4242.1&amp;utm_relevant_index=3">					                <div class="left ellipsis-online ellipsis-online-1"><em>终于</em><em>搞懂</em><em>了</em><em>Java8</em><em>的</em><em>内存</em><em>结构</em>,<em>再也</em><em>不</em><em>纠结</em><em>方法</em><em>区</em><em>和</em><em>常量池</em><em>了</em>!</div>				                  </a>			                  </div>                    <div class="info-box display-flex">                      <div class="info display-flex">                        <span class="info-block">3-27</span>                      </div>                    </div>                  </div>                  <div class="desc-box">                    <a href="https://blog.csdn.net/itfly8/article/details/115986781" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-0-115986781-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;,\&quot;parent_index\&quot;:\&quot;0\&quot;}&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4242.1&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/itfly8/article/details/115986781&quot;,&quot;strategy&quot;:&quot;2~default~baidujs_baidulandingword~default&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;index&quot;:&quot;0&quot;}" data-report-query="utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-0-115986781-blog-123069879.pc_relevant_default&amp;spm=1001.2101.3001.4242.1&amp;utm_relevant_index=3">                      <div class="desc ellipsis-online ellipsis-online-1"><em>java</em>堆既可以是固定大小<em>的</em>,也可以是可扩展<em>的</em>(通过参数-Xmx<em>和</em>-Xms设定),如果堆无法扩展或者无法分配<em>内存</em>时也会报OOM。 <em>方法</em><em>区</em>(Method Area) <em>方法</em><em>区</em>绝对是网上所有关于<em>java</em><em>内存</em><em>结构</em>文章争论<em>的</em>焦点,因为<em>方法</em><em>区</em><em>的</em>实现在<em>java8</em>做<em>了</em>一次大革新...</div>                    </a>                  </div>                </div>              </div><div class="recommend-item-box baiduSearch clearfix" data-type="blog">	                <div class="content-box">		                <div class="content-blog display-flex">			                  <div class="title-box">				                  <a class="tit" href="https://blog.csdn.net/weixin_33908564/article/details/114140737" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-1-114140737-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;,\&quot;parent_index\&quot;:\&quot;0\&quot;}&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4242.2&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_33908564/article/details/114140737&quot;,&quot;strategy&quot;:&quot;2~default~baidujs_baidulandingword~default&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;index&quot;:&quot;1&quot;}" data-report-query="utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-1-114140737-blog-123069879.pc_relevant_default&amp;spm=1001.2101.3001.4242.2&amp;utm_relevant_index=4">					                <div class="left ellipsis-online ellipsis-online-1"><em>java</em> old<em>区</em>_<em>Java8</em><em>内存</em>模型—<em>方法</em><em>区</em> (old:永久代 new:元...</div>				                  </a>			                  </div>                    <div class="info-box display-flex">                      <div class="info display-flex">                        <span class="info-block">5-19</span>                      </div>                    </div>                  </div>                  <div class="desc-box">                    <a href="https://blog.csdn.net/weixin_33908564/article/details/114140737" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-1-114140737-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;,\&quot;parent_index\&quot;:\&quot;0\&quot;}&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4242.2&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_33908564/article/details/114140737&quot;,&quot;strategy&quot;:&quot;2~default~baidujs_baidulandingword~default&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;index&quot;:&quot;1&quot;}" data-report-query="utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-1-114140737-blog-123069879.pc_relevant_default&amp;spm=1001.2101.3001.4242.2&amp;utm_relevant_index=4">                      <div class="desc ellipsis-online ellipsis-online-1">绝大部分 <em>Java</em> 程序员应该都见过 "<em>java</em>.lang.OutOfMemoryError: PermGen space "这个异常。这里<em>的</em> “PermGen space”其实指<em>的</em>就是<em>方法</em><em>区</em>。<em>不</em>过<em>方法</em><em>区</em><em>和</em>“PermGen space”又有着本质<em>的</em><em>区</em>别。前者是 JVM <em>的</em>规范,而<em>后</em>者则是 JVM 规范<em>的</em>...</div>                    </a>                  </div>                </div>              </div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/sinat_29899265/article/details/81002380">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/sinat_29899265/article/details/81002380" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.2&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-2-81002380-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;2&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/sinat_29899265/article/details/81002380&quot;}" data-report-query="spm=1001.2101.3001.6650.2&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-2-81002380-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-2-81002380-blog-123069879.pc_relevant_default&amp;utm_relevant_index=5">
					<div class="left ellipsis-online ellipsis-online-1">深入<em>Java</em>虚拟机笔记--<em>Java8</em><em>内存</em><em>结构</em></div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/sinat_29899265" target="_blank" data-report-query="spm=1001.2101.3001.6650.2&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-2-81002380-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-2-81002380-blog-123069879.pc_relevant_default&amp;utm_relevant_index=5"><span class="blog-title">Jagger的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">07-11</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					1043
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/sinat_29899265/article/details/81002380" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.2&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-2-81002380-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;2&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/sinat_29899265/article/details/81002380&quot;}" data-report-query="spm=1001.2101.3001.6650.2&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-2-81002380-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-2-81002380-blog-123069879.pc_relevant_default&amp;utm_relevant_index=5">
				<div class="desc ellipsis-online ellipsis-online-1">我们都知道<em>，</em><em>Java</em>代码是要运行在虚拟机上<em>的</em><em>，</em>而虚拟机在执行<em>Java</em>程序<em>的</em>过程中会把所管理<em>的</em><em>内存</em>划分为若干个<em>不</em>同<em>的</em>数据<em>区</em>域<em>，</em>这些<em>区</em>域都有各自<em>的</em>用途。

其中有些<em>区</em>域随着虚拟机进程<em>的</em>启动而存在<em>，</em>而有些<em>区</em>域则依赖用户线程<em>的</em>启动<em>和</em>结束而建立<em>和</em>销毁。在《<em>Java</em>虚拟机规范（<em>Java</em> SE <em>8</em>）》中描述<em>了</em>JVM运行时<em>内存</em><em>区</em>域<em>结构</em>如下： 
 
图片来源于网上。

程序计数器（Program Counter R...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_29523195/article/details/114158471" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.3&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-3-114158471-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;3&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_29523195/article/details/114158471&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_29523195/article/details/114158471" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.3&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-3-114158471-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;3&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_29523195/article/details/114158471&quot;}" data-report-query="spm=1001.2101.3001.6650.3&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-3-114158471-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-3-114158471-blog-123069879.pc_relevant_default&amp;utm_relevant_index=6">
					<div class="left ellipsis-online ellipsis-online-1"><em>java</em><em>内存</em><em>结构</em>_JVM系列（1）<em>java8</em><em>的</em><em>内存</em><em>结构</em></div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_29523195" target="_blank" data-report-query="spm=1001.2101.3001.6650.3&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-3-114158471-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-3-114158471-blog-123069879.pc_relevant_default&amp;utm_relevant_index=6"><span class="blog-title">weixin_29523195的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">02-15</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					113
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_29523195/article/details/114158471" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.3&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-3-114158471-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;3&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_29523195/article/details/114158471&quot;}" data-report-query="spm=1001.2101.3001.6650.3&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-3-114158471-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-3-114158471-blog-123069879.pc_relevant_default&amp;utm_relevant_index=6">
				<div class="desc ellipsis-online ellipsis-online-1">在一开始学习<em>java</em><em>的</em>时候<em>，</em>那时候是在网上看视频<em>，</em>老师就经常提到什么对象分配在堆<em>区</em><em>，</em>什么在栈<em>区</em><em>，</em>那时候<em>和</em>理解<em>，</em><em>后</em>来理解<em>了</em>就想着写一篇文章好好<em>的</em>去梳理一下。想说一下这篇文章<em>的</em>脉络：首先<em>，</em>研究<em>java</em>7<em>的</em><em>内存</em><em>结构</em><em>，</em>并对其进行一个详细<em>的</em>介绍<em>，</em>因为理解<em>了</em><em>java</em>7之<em>后</em><em>java8</em>比较容易理解接下来<em>，</em>使用一个例子来详解我们在运行一个程序<em>的</em>时候<em>，</em>代码在<em>java</em>虚拟机中<em>的</em>存储<em>和</em>转化。最<em>后</em><em>，</em>我们给出<em>java8</em><em>的</em><em>内存</em>...</div>
			</a>
		</div>
	</div>
</div><div class="recommend-item-box baiduSearch clearfix" data-type="blog" data-report-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-4-69258074-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;,\&quot;parent_index\&quot;:\&quot;3\&quot;}&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4242.3&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/u012813201/article/details/69258074&quot;,&quot;strategy&quot;:&quot;2~default~baidujs_baidulandingword~default&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;index&quot;:&quot;4&quot;}">	                <div class="content-box">		                <div class="content-blog display-flex">			                  <div class="title-box">				                  <a class="tit" href="https://blog.csdn.net/u012813201/article/details/69258074" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-4-69258074-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;,\&quot;parent_index\&quot;:\&quot;3\&quot;}&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4242.3&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/u012813201/article/details/69258074&quot;,&quot;strategy&quot;:&quot;2~default~baidujs_baidulandingword~default&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;index&quot;:&quot;4&quot;}" data-report-query="utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-4-69258074-blog-123069879.pc_relevant_default&amp;spm=1001.2101.3001.4242.3&amp;utm_relevant_index=7">					                <div class="left ellipsis-online ellipsis-online-1"><em>Java8</em>---底层<em>内存</em><em>结构</em><em>方法</em><em>区</em>_林竹清_清清清</div>				                  </a>			                  </div>                    <div class="info-box display-flex">                      <div class="info display-flex">                        <span class="info-block">3-5</span>                      </div>                    </div>                  </div>                  <div class="desc-box">                    <a href="https://blog.csdn.net/u012813201/article/details/69258074" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-4-69258074-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;,\&quot;parent_index\&quot;:\&quot;3\&quot;}&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4242.3&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/u012813201/article/details/69258074&quot;,&quot;strategy&quot;:&quot;2~default~baidujs_baidulandingword~default&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;index&quot;:&quot;4&quot;}" data-report-query="utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-4-69258074-blog-123069879.pc_relevant_default&amp;spm=1001.2101.3001.4242.3&amp;utm_relevant_index=7">                      <div class="desc ellipsis-online ellipsis-online-1"><em>方法</em><em>区</em>主要存放:类<em>的</em>各中加载信息,<em>常量</em>、静态变量等,<em>方法</em><em>区</em>或者直接说虚拟机中<em>的</em>永久<em>区</em>会被垃圾回收,但是条件比较苛刻,几乎<em>不</em>会被回收。 <em>Java8</em>就彻底<em>的</em>移除<em>了</em>堆<em>的</em>永久<em>区</em>,取而代之<em>的</em>是元空间(MetaSpace),它最大<em>的</em>特点就是存储在物理...</div>                    </a>                  </div>                </div>              </div><div class="recommend-item-box baiduSearch clearfix" data-type="blog" data-report-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-5-120030165-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;,\&quot;parent_index\&quot;:\&quot;3\&quot;}&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4242.4&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/emprere/article/details/120030165&quot;,&quot;strategy&quot;:&quot;2~default~baidujs_baidulandingword~default&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;index&quot;:&quot;5&quot;}">	                <div class="content-box">		                <div class="content-blog display-flex">			                  <div class="title-box">				                  <a class="tit" href="https://blog.csdn.net/emprere/article/details/120030165" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-5-120030165-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;,\&quot;parent_index\&quot;:\&quot;3\&quot;}&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4242.4&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/emprere/article/details/120030165&quot;,&quot;strategy&quot;:&quot;2~default~baidujs_baidulandingword~default&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;index&quot;:&quot;5&quot;}" data-report-query="utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-5-120030165-blog-123069879.pc_relevant_default&amp;spm=1001.2101.3001.4242.4&amp;utm_relevant_index=8">					                <div class="left ellipsis-online ellipsis-online-1"><em>终于</em><em>搞懂</em><em>了</em><em>Java</em> <em>8</em> <em>的</em><em>内存</em><em>结构</em>,<em>再也</em><em>不</em><em>纠结</em><em>方法</em><em>区</em><em>和</em><em>常量</em>...</div>				                  </a>			                  </div>                    <div class="info-box display-flex">                      <div class="info display-flex">                        <span class="info-block">4-7</span>                      </div>                    </div>                  </div>                  <div class="desc-box">                    <a href="https://blog.csdn.net/emprere/article/details/120030165" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-5-120030165-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;,\&quot;parent_index\&quot;:\&quot;3\&quot;}&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4242.4&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/emprere/article/details/120030165&quot;,&quot;strategy&quot;:&quot;2~default~baidujs_baidulandingword~default&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;index&quot;:&quot;5&quot;}" data-report-query="utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-5-120030165-blog-123069879.pc_relevant_default&amp;spm=1001.2101.3001.4242.4&amp;utm_relevant_index=8">                      <div class="desc ellipsis-online ellipsis-online-1"><em>Java</em>虚拟机在执行<em>的</em>时候会把管理<em>的</em><em>内存</em>分配成<em>不</em>同<em>的</em><em>区</em>域,这些<em>区</em>域被称为虚拟机<em>内存</em>,同时,对于虚拟机没有直接管理<em>的</em>物理<em>内存</em>,也有一定<em>的</em>利用,这些被利用却<em>不</em>在虚拟机<em>内存</em>数据<em>区</em><em>的</em><em>内存</em>,我们称它为本地<em>内存</em>,这两种<em>内存</em>有一定<em>的</em><em>区</em>别: JVM...</div>                    </a>                  </div>                </div>              </div>
		
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_35892779/article/details/114033770" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.4&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-4-114033770-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;4&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_35892779/article/details/114033770&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_35892779/article/details/114033770" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.4&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-4-114033770-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;4&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_35892779/article/details/114033770&quot;}" data-report-query="spm=1001.2101.3001.6650.4&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-4-114033770-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-4-114033770-blog-123069879.pc_relevant_default&amp;utm_relevant_index=9">
					<div class="left ellipsis-online ellipsis-online-1"><em>java</em> 永久代_<em>Java8</em><em>内存</em>模型—永久代(PermGen)<em>和</em>元空间(Metaspace)</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_35892779" target="_blank" data-report-query="spm=1001.2101.3001.6650.4&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-4-114033770-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-4-114033770-blog-123069879.pc_relevant_default&amp;utm_relevant_index=9"><span class="blog-title">weixin_35892779的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">02-12</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					60
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_35892779/article/details/114033770" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.4&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-4-114033770-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;4&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_35892779/article/details/114033770&quot;}" data-report-query="spm=1001.2101.3001.6650.4&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-4-114033770-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-4-114033770-blog-123069879.pc_relevant_default&amp;utm_relevant_index=9">
				<div class="desc ellipsis-online ellipsis-online-1">一、JVM <em>内存</em>模型根据 JVM 规范<em>，</em>JVM <em>内存</em>共分为虚拟机栈、堆、<em>方法</em><em>区</em>、程序计数器、本地<em>方法</em>栈五个部分。1、虚拟机栈：每个线程有一个私有<em>的</em>栈<em>，</em>随着线程<em>的</em>创建而创建。栈里面存着<em>的</em>是一种叫“栈帧”<em>的</em>东西<em>，</em>每个<em>方法</em>会创建一个栈帧<em>，</em>栈帧中存放<em>了</em>局部变量表(基本数据类型<em>和</em>对象引用)、操作数栈、<em>方法</em>出口等信息。栈<em>的</em>大小可以固定也可以动态扩展。当栈调用深度大于JVM所允许<em>的</em>范围<em>，</em>会抛出StackOver...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_42129970/article/details/114352478" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.5&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-5-114352478-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;5&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_42129970/article/details/114352478&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_42129970/article/details/114352478" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.5&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-5-114352478-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;5&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_42129970/article/details/114352478&quot;}" data-report-query="spm=1001.2101.3001.6650.5&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-5-114352478-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-5-114352478-blog-123069879.pc_relevant_default&amp;utm_relevant_index=10">
					<div class="left ellipsis-online ellipsis-online-1"><em>java</em> <em>8</em> <em>方法</em><em>区</em>_JDK<em>8</em><em>的</em>JVM<em>内存</em><em>结构</em><em>，</em>元空间替代永久代成为<em>方法</em><em>区</em>及<em>常量池</em><em>的</em>变化...</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_42129970" target="_blank" data-report-query="spm=1001.2101.3001.6650.5&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-5-114352478-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-5-114352478-blog-123069879.pc_relevant_default&amp;utm_relevant_index=10"><span class="blog-title">weixin_42129970的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">02-19</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					151
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_42129970/article/details/114352478" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.5&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-5-114352478-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;5&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_42129970/article/details/114352478&quot;}" data-report-query="spm=1001.2101.3001.6650.5&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-5-114352478-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-5-114352478-blog-123069879.pc_relevant_default&amp;utm_relevant_index=10">
				<div class="desc ellipsis-online ellipsis-online-1">现在很多文章关于JVM<em>内存</em><em>结构</em><em>的</em>说法模糊<em>不</em>清<em>，</em>这里记录一下以前<em>的</em>一些比较模糊<em>的</em>JVM相关概念<em>的</em>重新认识。都是经过多处考证对比<em>的</em>。MetaSpace代替Perm Gen元空间代替<em>了</em>永久代,所以JVM关于永久代<em>的</em>参数也都作废<em>了</em><em>，</em>取而代之<em>的</em>是关于MetaSpace空间<em>的</em>参数。而且MetaSpace是属于直接<em>内存</em>而<em>不</em>是JVM分配<em>的</em><em>内存</em>。示意图：(图片来源于网络)为什么要在直接<em>内存</em>里拿出来一块<em>内存</em>作为元空间...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_51476582/article/details/115862407" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.6&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-6-115862407-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;6&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_51476582/article/details/115862407&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_51476582/article/details/115862407" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.6&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-6-115862407-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;6&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_51476582/article/details/115862407&quot;}" data-report-query="spm=1001.2101.3001.6650.6&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-6-115862407-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-6-115862407-blog-123069879.pc_relevant_default&amp;utm_relevant_index=11">
					<div class="left ellipsis-online ellipsis-online-1"><em>java8</em><em>的</em><em>内存</em><em>结构</em></div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_51476582" target="_blank" data-report-query="spm=1001.2101.3001.6650.6&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-6-115862407-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-6-115862407-blog-123069879.pc_relevant_default&amp;utm_relevant_index=11"><span class="blog-title">weixin_51476582的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">04-19</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					55
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_51476582/article/details/115862407" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.6&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-6-115862407-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;6&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_51476582/article/details/115862407&quot;}" data-report-query="spm=1001.2101.3001.6650.6&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-6-115862407-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-6-115862407-blog-123069879.pc_relevant_default&amp;utm_relevant_index=11">
				<div class="desc ellipsis-online ellipsis-online-1"><em>java8</em><em>的</em><em>内存</em><em>结构</em>



注：本来转载自微信公众号：<em>不</em>止于编程





<em>内存</em><em>结构</em>图







虚拟机<em>内存</em>与本地<em>内存</em><em>的</em><em>区</em>别



<em>Java</em>虚拟机在执行<em>的</em>时候会把管理<em>的</em><em>内存</em>分配成<em>不</em>同<em>的</em><em>区</em>域<em>，</em>这些<em>区</em>域被称为虚拟机<em>内存</em><em>，</em>同时<em>，</em>对于虚拟机没有直接管理<em>的</em>物理<em>内存</em><em>，</em>也有一定<em>的</em>利用<em>，</em>这些被利用却<em>不</em>在虚拟机<em>内存</em>数据<em>区</em><em>的</em><em>内存</em><em>，</em>我们称它为本地<em>内存</em><em>，</em>这两种<em>内存</em>有一定<em>的</em><em>区</em>别：



JVM<em>内存</em>




	受虚拟机<em>内存</em>大小<em>的</em>参数控制<em>，</em>当大小超过参数设置<em>的</em>大小时就会报OOM
	
本地<em>内存</em>


	本地<em>内存</em><em>不</em>受虚拟机...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_31849185/article/details/114073613" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.7&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-7-114073613-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;7&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_31849185/article/details/114073613&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_31849185/article/details/114073613" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.7&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-7-114073613-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;7&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_31849185/article/details/114073613&quot;}" data-report-query="spm=1001.2101.3001.6650.7&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-7-114073613-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-7-114073613-blog-123069879.pc_relevant_default&amp;utm_relevant_index=12">
					<div class="left ellipsis-online ellipsis-online-1"><em>java</em> 元空间_<em>Java8</em>中<em>的</em>JVM元空间是<em>不</em>是<em>方法</em><em>区</em>？</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_31849185" target="_blank" data-report-query="spm=1001.2101.3001.6650.7&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-7-114073613-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-7-114073613-blog-123069879.pc_relevant_default&amp;utm_relevant_index=12"><span class="blog-title">weixin_31849185的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">02-12</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					442
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_31849185/article/details/114073613" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.7&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-7-114073613-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;7&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_31849185/article/details/114073613&quot;}" data-report-query="spm=1001.2101.3001.6650.7&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-7-114073613-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-7-114073613-blog-123069879.pc_relevant_default&amp;utm_relevant_index=12">
				<div class="desc ellipsis-online ellipsis-online-1"><em>不</em>是<em>的</em><em>，</em>应该说是：元空间是<em>方法</em><em>区</em><em>的</em>一种具体实现你可以把<em>方法</em><em>区</em>理解为<em>Java</em>中定义<em>的</em>一个接口<em>，</em>把元空间/永久代看做这个接口<em>的</em>具体实现类<em>方法</em><em>区</em>是规范<em>，</em>元空间/永久代是Hotspot针对该规范进行<em>的</em>实现。在JVM规范中<em>，</em><em>方法</em><em>区</em>被定义为一种逻辑<em>区</em>域<em>，</em>而<em>方法</em><em>区</em>具体怎么实现是各JVM<em>的</em>实现细节<em>，</em>所以<em>方法</em><em>区</em><em>的</em>内容在堆里也好<em>，</em><em>不</em>在堆里也好都是符合标准<em>的</em>。如果想要深入<em>了</em>解JVM<em>的</em>话<em>，</em>可以买这一本《<em>Java</em>虚拟机规范...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_39886251/article/details/114352476" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.8&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-8-114352476-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;8&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_39886251/article/details/114352476&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_39886251/article/details/114352476" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.8&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-8-114352476-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;8&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_39886251/article/details/114352476&quot;}" data-report-query="spm=1001.2101.3001.6650.8&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-8-114352476-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-8-114352476-blog-123069879.pc_relevant_default&amp;utm_relevant_index=13">
					<div class="left ellipsis-online ellipsis-online-1"><em>java</em> <em>8</em> <em>方法</em><em>区</em>_<em>JAVA</em> <em>方法</em><em>区</em>与堆--<em>java</em>7前<em>，</em><em>java</em>7,<em>java8</em>各<em>不</em>相同</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_39886251" target="_blank" data-report-query="spm=1001.2101.3001.6650.8&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-8-114352476-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-8-114352476-blog-123069879.pc_relevant_default&amp;utm_relevant_index=13"><span class="blog-title">weixin_39886251的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">02-19</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					132
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_39886251/article/details/114352476" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.8&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-8-114352476-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;8&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_39886251/article/details/114352476&quot;}" data-report-query="spm=1001.2101.3001.6650.8&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-8-114352476-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-8-114352476-blog-123069879.pc_relevant_default&amp;utm_relevant_index=13">
				<div class="desc ellipsis-online ellipsis-online-1">三种情况：<em>java</em>7之前<em>，</em><em>方法</em><em>区</em>位于永久代(PermGen)<em>，</em>永久代<em>和</em>堆相互隔离<em>，</em>永久代<em>的</em>大小在启动JVM时可以设置一个固定值<em>，</em><em>不</em>可变；<em>java</em>7中<em>，</em>存储在永久代<em>的</em>部分数据就已经转移到<em>Java</em> Heap或者Native memory。但永久代仍存在于JDK 1.7中<em>，</em>并没有完全移除<em>，</em>譬如符号引用(Symbols)转移到<em>了</em>native memory；字符串<em>常量池</em>(interned strings)转...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_35204634/article/details/113451805" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.9&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-9-113451805-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;9&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_35204634/article/details/113451805&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_35204634/article/details/113451805" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.9&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-9-113451805-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;9&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_35204634/article/details/113451805&quot;}" data-report-query="spm=1001.2101.3001.6650.9&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-9-113451805-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-9-113451805-blog-123069879.pc_relevant_default&amp;utm_relevant_index=14">
					<div class="left ellipsis-online ellipsis-online-1"><em>java8</em>堆<em>内存</em>模型_<em>终于</em><em>搞懂</em><em>了</em><em>java8</em><em>的</em><em>内存</em><em>结构</em><em>，</em><em>再也</em><em>不</em><em>纠结</em><em>方法</em><em>区</em><em>和</em><em>常量池</em><em>了</em></div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_35204634" target="_blank" data-report-query="spm=1001.2101.3001.6650.9&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-9-113451805-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-9-113451805-blog-123069879.pc_relevant_default&amp;utm_relevant_index=14"><span class="blog-title">weixin_35204634的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">01-21</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					806
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_35204634/article/details/113451805" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.9&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-9-113451805-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;9&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_35204634/article/details/113451805&quot;}" data-report-query="spm=1001.2101.3001.6650.9&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-9-113451805-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-9-113451805-blog-123069879.pc_relevant_default&amp;utm_relevant_index=14">
				<div class="desc ellipsis-online ellipsis-online-1"><em>java8</em><em>内存</em><em>结构</em>介绍 <em>java</em>虚拟机在jdk<em>8</em>改变<em>了</em>许多<em>，</em>网络上各种解释都有<em>，</em>在查阅<em>了</em>官方文档以及一下大佬<em>的</em>解释以<em>后</em><em>，</em>我来粗浅<em>的</em>介绍一下我理解<em>的</em><em>java8</em><em>的</em><em>内存</em><em>结构</em>。<em>java8</em><em>内存</em><em>结构</em>图虚拟机<em>内存</em>与本地<em>内存</em><em>的</em><em>区</em>别 <em>Java</em>虚拟机在执行<em>的</em>时候会把管理<em>的</em><em>内存</em>分配成<em>不</em>同<em>的</em><em>区</em>域<em>，</em>这些<em>区</em>域被称为虚拟机<em>内存</em><em>，</em>同时<em>，</em>对于虚拟机没有直接管理<em>的</em>物理<em>内存</em><em>，</em>也有一定<em>的</em>利用<em>，</em>这些被利用却<em>不</em>在虚拟机<em>内存</em>数据<em>区</em><em>的</em><em>内存</em><em>，</em>我们...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/m0_37510446/article/details/104121744" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.10&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-10-104121744-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;10&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/m0_37510446/article/details/104121744&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/m0_37510446/article/details/104121744" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.10&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-10-104121744-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;10&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/m0_37510446/article/details/104121744&quot;}" data-report-query="spm=1001.2101.3001.6650.10&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-10-104121744-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-10-104121744-blog-123069879.pc_relevant_default&amp;utm_relevant_index=15">
					<div class="left ellipsis-online ellipsis-online-1"><em>Java8</em>之<em>后</em><em>的</em>元空间<em>和</em><em>方法</em><em>区</em>以及之前<em>的</em>永久代这三者到底存在哪些<em>区</em>别？</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/m0_37510446" target="_blank" data-report-query="spm=1001.2101.3001.6650.10&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-10-104121744-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-10-104121744-blog-123069879.pc_relevant_default&amp;utm_relevant_index=15"><span class="blog-title">m0_37510446的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">01-31</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					2193
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/m0_37510446/article/details/104121744" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.10&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-10-104121744-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;10&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/m0_37510446/article/details/104121744&quot;}" data-report-query="spm=1001.2101.3001.6650.10&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-10-104121744-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-10-104121744-blog-123069879.pc_relevant_default&amp;utm_relevant_index=15">
				<div class="desc ellipsis-online ellipsis-online-1">直接入正题吧！
相信<em>了</em>解过JVM<em>的</em>人都听说过<em>，</em>在JVM中<em>的</em>一个非堆<em>内存</em>在<em>java8</em>之前叫做永久代<em>，</em>在<em>java8</em><em>后</em><em>，</em>就更名为元空间<em>了</em><em>，</em>当然这两个概念都是基于HotSpot虚拟机<em>，</em>其他虚拟机没有这些概念
为<em>了</em>理清这些变化<em>，</em>先说一下<em>方法</em><em>区</em><em>和</em>永久代<em>的</em><em>区</em>别
<em>方法</em><em>区</em>规范<em>，</em>在<em>不</em>同<em>的</em>虚拟机中<em>的</em>实现是<em>不</em>一样<em>的</em><em>，</em>例如永久代<em>和</em>元空间。
用于存放被已经被JVM加载<em>的</em><em>的</em>类信息<em>，</em><em>常量</em><em>，</em>静态变量<em>，</em><em>方法</em>数据<em>，</em>构造函数<em>和</em>普通<em>方法</em>等...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://lingslee.blog.csdn.net/article/details/69258074" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.11&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-11-69258074-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;11&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://lingslee.blog.csdn.net/article/details/69258074&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://lingslee.blog.csdn.net/article/details/69258074" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.11&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-11-69258074-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;11&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://lingslee.blog.csdn.net/article/details/69258074&quot;}" data-report-query="spm=1001.2101.3001.6650.11&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-11-69258074-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-11-69258074-blog-123069879.pc_relevant_default&amp;utm_relevant_index=16">
					<div class="left ellipsis-online ellipsis-online-1"><em>Java8</em>---底层<em>内存</em><em>结构</em><em>方法</em><em>区</em></div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/u012813201" target="_blank" data-report-query="spm=1001.2101.3001.6650.11&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-11-69258074-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-11-69258074-blog-123069879.pc_relevant_default&amp;utm_relevant_index=16"><span class="blog-title">林竹清_清清清</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">04-05</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					6020
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://lingslee.blog.csdn.net/article/details/69258074" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.11&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~CTRLIST~default-11-69258074-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;11&quot;,&quot;strategy&quot;:&quot;2~default~CTRLIST~default&quot;,&quot;dest&quot;:&quot;https://lingslee.blog.csdn.net/article/details/69258074&quot;}" data-report-query="spm=1001.2101.3001.6650.11&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-11-69258074-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-11-69258074-blog-123069879.pc_relevant_default&amp;utm_relevant_index=16">
				<div class="desc ellipsis-online ellipsis-online-1"><em>方法</em><em>区</em>：
jvm运行时<em>内存</em><em>区</em>域主要分为：程序计数器<em>，</em>jvm栈<em>，</em>本地<em>方法</em>栈<em>，</em>堆<em>，</em><em>方法</em><em>区</em>。
jvm规把<em>方法</em><em>区</em>描述为堆<em>的</em>逻辑<em>结构</em>（即永久<em>区</em>PermGen）但是他还有个别名<em>，</em>叫Non-Heap（非堆）<em>，</em>目前情况除<em>了</em>Oracle-sun-
 hotspot还采用永久<em>区</em>以外<em>，</em>Oracle-JRockit<em>，</em>IBM-J9以及国内阿里<em>的</em>jvm<em>，</em>都<em>不</em>存在永久<em>区</em><em>的</em>概念<em>，</em>而Hotspot也逐渐消除永久<em>区</em><em>，</em>jdk1</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_32484447/article/details/114078864" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.12&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-12-114078864-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;12&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_32484447/article/details/114078864&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_32484447/article/details/114078864" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.12&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-12-114078864-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;12&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_32484447/article/details/114078864&quot;}" data-report-query="spm=1001.2101.3001.6650.12&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-12-114078864-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-12-114078864-blog-123069879.pc_relevant_default&amp;utm_relevant_index=17">
					<div class="left ellipsis-online ellipsis-online-1"><em>java8</em> <em>常量池</em>_<em>Java</em> <em>8</em> <em>常量池</em>?</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_32484447" target="_blank" data-report-query="spm=1001.2101.3001.6650.12&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-12-114078864-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-12-114078864-blog-123069879.pc_relevant_default&amp;utm_relevant_index=17"><span class="blog-title">weixin_32484447的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">02-12</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					261
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_32484447/article/details/114078864" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.12&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-12-114078864-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;12&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_32484447/article/details/114078864&quot;}" data-report-query="spm=1001.2101.3001.6650.12&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-12-114078864-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-12-114078864-blog-123069879.pc_relevant_default&amp;utm_relevant_index=17">
				<div class="desc ellipsis-online ellipsis-online-1"><em>Java</em> 对于基本类型<em>和</em> String 采用<em>池</em>化<em>的</em>享元模式<em>，</em>将其放在<em>常量池</em>中<em>，</em>提高运行程序速度<em>，</em>更节省<em>内存</em>String 有两种方式放入<em>常量池</em>中String ab = "ab"  定义字面字符串ab.intern()   该<em>方法</em><em>的</em>解释, 若在<em>常量池</em>中<em>，</em>取引用<em>，</em><em>不</em>在就加入<em>常量池</em>取引用；* When the intern method is invoked, if the pool already co...</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/qq876551724/article/details/78845366" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.13&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-13-78845366-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;13&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq876551724/article/details/78845366&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/qq876551724/article/details/78845366" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.13&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-13-78845366-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;13&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq876551724/article/details/78845366&quot;}" data-report-query="spm=1001.2101.3001.6650.13&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-13-78845366-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-13-78845366-blog-123069879.pc_relevant_default&amp;utm_relevant_index=18">
					<div class="left ellipsis-online ellipsis-online-1"><em>JAVA</em> <em>方法</em><em>区</em>与堆--<em>java</em>7前<em>，</em><em>java</em>7,<em>java8</em>各<em>不</em>相同</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/qq876551724" target="_blank" data-report-query="spm=1001.2101.3001.6650.13&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-13-78845366-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-13-78845366-blog-123069879.pc_relevant_default&amp;utm_relevant_index=18"><span class="blog-title">qq876551724的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">12-19</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					9835
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/qq876551724/article/details/78845366" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.13&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-13-78845366-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;13&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq876551724/article/details/78845366&quot;}" data-report-query="spm=1001.2101.3001.6650.13&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-13-78845366-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-13-78845366-blog-123069879.pc_relevant_default&amp;utm_relevant_index=18">
				<div class="desc ellipsis-online ellipsis-online-1">三种情况： 
 <em>java</em>7之前<em>，</em><em>方法</em><em>区</em>位于永久代(PermGen)<em>，</em>永久代<em>和</em>堆相互隔离<em>，</em>永久代<em>的</em>大小在启动JVM时可以设置一个固定值<em>，</em><em>不</em>可变；  
 <em>java</em>7中<em>，</em>存储在永久代<em>的</em>部分数据就已经转移到<em>Java</em> Heap或者Native memory。但永久代仍存在于JDK 1.7中<em>，</em>并没有完全移除<em>，</em>譬如符号引用(Symbols)转移到<em>了</em>native memory；字符串<em>常量池</em>(interned str</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/chen462488588/article/details/113184227" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.14&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-14-113184227-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;14&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/chen462488588/article/details/113184227&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/chen462488588/article/details/113184227" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.14&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-14-113184227-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;14&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/chen462488588/article/details/113184227&quot;}" data-report-query="spm=1001.2101.3001.6650.14&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-14-113184227-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-14-113184227-blog-123069879.pc_relevant_default&amp;utm_relevant_index=19">
					<div class="left ellipsis-online ellipsis-online-1">JDK<em>8</em><em>常量池</em><em>的</em>分析</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/chen462488588" target="_blank" data-report-query="spm=1001.2101.3001.6650.14&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-14-113184227-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-14-113184227-blog-123069879.pc_relevant_default&amp;utm_relevant_index=19"><span class="blog-title">头发茂密的假程序猿</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">01-26</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					380
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/chen462488588/article/details/113184227" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.14&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-14-113184227-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;14&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/chen462488588/article/details/113184227&quot;}" data-report-query="spm=1001.2101.3001.6650.14&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-14-113184227-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-14-113184227-blog-123069879.pc_relevant_default&amp;utm_relevant_index=19">
				<div class="desc ellipsis-online ellipsis-online-1"><em>常量池</em><em>的</em>分类
一说到<em>常量池</em><em>，</em>感觉都能讲几句<em>，</em><em>常量池</em>位于<em>方法</em><em>区</em><em>，</em>存放类变量、字符串等……这种说法都是一知半解<em>，</em>如果详细介绍<em>常量池</em><em>，</em>至少得先说出是哪个版本<em>的</em>JDK以及哪个虚拟机<em>，</em>因为每个版本<em>的</em><em>内存</em>分配实现方式是<em>不</em>一样<em>的</em>。此处我以JDK<em>8</em><em>和</em>hotspot虚拟机做个总结。
首先<em>常量池</em><em>的</em>物理位置：1、<em>方法</em><em>区</em>；2、堆中。
<em>方法</em><em>区</em><em>常量池</em>
JDK<em>8</em><em>方法</em><em>区</em>在元数据<em>内存</em><em>，</em><em>不</em>占用堆<em>内存</em><em>，</em>也就是说你用-Xms -Xmx指定<em>的</em>堆<em>内存</em><em>和</em><em>方法</em><em>区</em>没关系<em>，</em>这个元数据空间直接使用<em>的</em>是你<em>的</em>操作系统<em>的</em>物理<em>内存</em><em>，</em>这个大小也是可以指定<em>的</em>。
（附：设置</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/m0_49835838/article/details/122662135" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.15&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-15-122662135-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;15&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/m0_49835838/article/details/122662135&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/m0_49835838/article/details/122662135" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.15&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-15-122662135-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;15&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/m0_49835838/article/details/122662135&quot;}" data-report-query="spm=1001.2101.3001.6650.15&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-15-122662135-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-15-122662135-blog-123069879.pc_relevant_default&amp;utm_relevant_index=20">
					<div class="left ellipsis-online ellipsis-online-1"><em>Java8</em>-JVM<em>内存</em><em>区</em>域划分白话解读</div>
					<div class="tag">最新发布</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/m0_49835838" target="_blank" data-report-query="spm=1001.2101.3001.6650.15&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-15-122662135-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-15-122662135-blog-123069879.pc_relevant_default&amp;utm_relevant_index=20"><span class="blog-title">b1ackc4t的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">01-24</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					133
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/m0_49835838/article/details/122662135" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.15&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-15-122662135-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;15&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/m0_49835838/article/details/122662135&quot;}" data-report-query="spm=1001.2101.3001.6650.15&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-15-122662135-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-15-122662135-blog-123069879.pc_relevant_default&amp;utm_relevant_index=20">
				<div class="desc ellipsis-online ellipsis-online-1">前言
<em>java</em>作为一款能够自动管理<em>内存</em><em>的</em><em>语言</em><em>，</em>与传统<em>的</em>c/c++<em>语言</em>相比有着自己独特<em>的</em>优势。虽然我们无需去管理<em>内存</em><em>，</em>但为<em>了</em>防范可能发生<em>的</em>异常<em>，</em>我们需要对<em>java</em>内部数据如何存储有一定<em>了</em>解<em>，</em>已应对突发问题<em>，</em>写出更好<em>的</em>程序
JVM对运行时程序<em>内存</em><em>的</em>划分
<em>java</em>程序在被编译成字节码<em>后</em><em>，</em>由JVM执行<em>，</em>执行期间产生<em>的</em>所有数据<em>，</em>会被分门别类<em>的</em>存储在JVM预设好<em>的</em><em>区</em>域里<em>，</em>具体情况如下所示

<em>java</em>6时<em>方法</em><em>区</em>还属于JVM管理<em>的</em><em>内存</em><em>，</em>那时俗称为“永久代”<em>，</em>负责存储：被虚拟机加载<em>的</em>类型信息、<em>方法</em>信息、<em>常量</em>（包括字符串<em>常量</em>）</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/qq_35621494/article/details/107351237" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.16&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-16-107351237-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;16&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_35621494/article/details/107351237&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/qq_35621494/article/details/107351237" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.16&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-16-107351237-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;16&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_35621494/article/details/107351237&quot;}" data-report-query="spm=1001.2101.3001.6650.16&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-16-107351237-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-16-107351237-blog-123069879.pc_relevant_default&amp;utm_relevant_index=21">
					<div class="left ellipsis-online ellipsis-online-1"><em>终于</em><em>搞懂</em><em>了</em><em>java8</em><em>的</em><em>内存</em><em>结构</em><em>，</em><em>再也</em><em>不</em><em>纠结</em><em>方法</em><em>区</em><em>和</em><em>常量池</em><em>了</em>！</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/qq_35621494" target="_blank" data-report-query="spm=1001.2101.3001.6650.16&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-16-107351237-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-16-107351237-blog-123069879.pc_relevant_default&amp;utm_relevant_index=21"><span class="blog-title">leiyu的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">07-15</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					4209
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/qq_35621494/article/details/107351237" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.16&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-16-107351237-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;16&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_35621494/article/details/107351237&quot;}" data-report-query="spm=1001.2101.3001.6650.16&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-16-107351237-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-16-107351237-blog-123069879.pc_relevant_default&amp;utm_relevant_index=21">
				<div class="desc ellipsis-online ellipsis-online-1"><em>java8</em><em>内存</em><em>结构</em>介绍
 <em>java</em>虚拟机在jdk<em>8</em>改变<em>了</em>许多<em>，</em>网络上各种解释都有<em>，</em>在查阅<em>了</em>官方文档以及一下大佬<em>的</em>解释以<em>后</em><em>，</em>我来粗浅<em>的</em>介绍一下我理解<em>的</em><em>java8</em><em>的</em><em>内存</em><em>结构</em>。
目录

<em>内存</em><em>结构</em>图总结
虚拟机<em>内存</em>与本地<em>内存</em><em>的</em><em>区</em>别
<em>java</em>运行时数据<em>区</em>域

程序计数器（Program Counter Register）
虚拟机栈（JVM Stacks）
本地<em>方法</em>栈（Native Method Stacks）
<em>Java</em>堆（<em>Java</em> Heap）
<em>方法</em><em>区</em>(Method Area)


直接<em>内存</em>
常见问题

什么是Nati</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/penriver/article/details/118609664" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.17&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-17-118609664-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;17&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/penriver/article/details/118609664&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/penriver/article/details/118609664" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.17&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-17-118609664-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;17&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/penriver/article/details/118609664&quot;}" data-report-query="spm=1001.2101.3001.6650.17&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-17-118609664-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-17-118609664-blog-123069879.pc_relevant_default&amp;utm_relevant_index=22">
					<div class="left ellipsis-online ellipsis-online-1"><em>Java8</em> JVM<em>内存</em><em>结构</em>讲解及配置优化</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/penriver" target="_blank" data-report-query="spm=1001.2101.3001.6650.17&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-17-118609664-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-17-118609664-blog-123069879.pc_relevant_default&amp;utm_relevant_index=22"><span class="blog-title">penriver的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">07-09</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					219
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/penriver/article/details/118609664" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.17&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-17-118609664-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;17&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/penriver/article/details/118609664&quot;}" data-report-query="spm=1001.2101.3001.6650.17&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-17-118609664-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-17-118609664-blog-123069879.pc_relevant_default&amp;utm_relevant_index=22">
				<div class="desc ellipsis-online ellipsis-online-1">1 <em>Java</em>虚拟机技术
参见 <em>java</em> vm
1.1 VM<em>的</em>实现
JDK提供<em>了</em>一个或多个<em>Java</em>虚拟机(VM)<em>的</em>实现:

client VM：在通常用于客户<em>端</em>应用程序<em>的</em>平台上<em>，</em>JDK附带<em>了</em>一个称为<em>Java</em> HotSpot客户<em>端</em>VM(客户<em>端</em>VM)<em>的</em>虚拟机实现。客户<em>端</em>VM进行<em>了</em>调优<em>，</em>以减少启动时间<em>和</em><em>内存</em>占用。可以在启动应用程序时使用-client命令行选项来调用它。
server VM: 在所有平台上<em>，</em>JDK都附带<em>了</em><em>Java</em>虚拟机<em>的</em>实现<em>，</em>称为<em>Java</em> HotSpot Server VM(服务器VM)。服务器虚拟</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/weixin_38308374/article/details/110674739" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.18&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-18-110674739-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;18&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_38308374/article/details/110674739&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/weixin_38308374/article/details/110674739" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.18&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-18-110674739-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;18&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_38308374/article/details/110674739&quot;}" data-report-query="spm=1001.2101.3001.6650.18&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-18-110674739-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-18-110674739-blog-123069879.pc_relevant_default&amp;utm_relevant_index=23">
					<div class="left ellipsis-online ellipsis-online-1"><em>java8</em>解惑之字符串<em>常量池</em>（实现原理、垃圾回收）</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/weixin_38308374" target="_blank" data-report-query="spm=1001.2101.3001.6650.18&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-18-110674739-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-18-110674739-blog-123069879.pc_relevant_default&amp;utm_relevant_index=23"><span class="blog-title">龚厂长的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">12-05</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					1973
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/weixin_38308374/article/details/110674739" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.18&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-18-110674739-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;18&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/weixin_38308374/article/details/110674739&quot;}" data-report-query="spm=1001.2101.3001.6650.18&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-18-110674739-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-18-110674739-blog-123069879.pc_relevant_default&amp;utm_relevant_index=23">
				<div class="desc ellipsis-online ellipsis-online-1">字符串<em>常量池</em>在<em>java</em>6之前位于永久代<em>，</em>永久代从名字上已经告诉我们这里垃圾回收效果很差<em>，</em>如果字符串<em>常量池</em>中含有大量<em>的</em>字符串<em>，</em>那么很容易造成永久代溢出。从<em>java</em>7开始<em>，</em>字符串<em>常量池</em>挪到<em>了</em>堆中<em>，</em>堆空间一般比较大<em>，</em>而且堆空间<em>的</em>回收效率很高<em>，</em>所以相对于在永久代<em>，</em>放到堆空间<em>后</em><em>，</em><em>内存</em>溢出<em>的</em>情况大大减少。
本文接下来先通过代码观察一下<em>常量池</em><em>，</em>然<em>后</em>介绍字符串<em>常量池</em>如何实现<em>的</em>。
本文使用<em>的</em>是jdk<em>8</em>。
本文目录一、代码实验二、字符串<em>常量池</em>实现原理
一、代码实验
这里主要使用String.intern<em>方法</em><em>，</em>intern()方</div>
			</a>
		</div>
	</div>
</div>
<div class="recommend-item-box type_blog clearfix" data-url="https://blog.csdn.net/qq_34457118/article/details/81712293" data-report-view="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.19&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-19-81712293-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;19&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_34457118/article/details/81712293&quot;}">
	<div class="content-box">
		<div class="content-blog display-flex">
			<div class="title-box">
				<a href="https://blog.csdn.net/qq_34457118/article/details/81712293" class="tit" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.19&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-19-81712293-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;19&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_34457118/article/details/81712293&quot;}" data-report-query="spm=1001.2101.3001.6650.19&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-19-81712293-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-19-81712293-blog-123069879.pc_relevant_default&amp;utm_relevant_index=24">
					<div class="left ellipsis-online ellipsis-online-1">JVM<em>内存</em><em>结构</em>（基于JDK<em>8</em>）</div>
					<div class="tag">热门推荐</div>
				</a>
			</div>
			<div class="info-box display-flex">
				<div class="info">
					<a href="https://blog.csdn.net/qq_34457118" target="_blank" data-report-query="spm=1001.2101.3001.6650.19&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-19-81712293-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-19-81712293-blog-123069879.pc_relevant_default&amp;utm_relevant_index=24"><span class="blog-title">秋风扫落叶的博客</span></a>
				</div>
				<div class="info display-flex">
					<span class="info-block time">08-15</span>
					<span class="info-block read"><img class="read-img" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					1万+
					</span>
				</div>
			</div>
		</div>
		<div class="desc-box">
			<a href="https://blog.csdn.net/qq_34457118/article/details/81712293" target="_blank" data-report-click="{&quot;ab&quot;:&quot;new&quot;,&quot;spm&quot;:&quot;1001.2101.3001.6650.19&quot;,&quot;mod&quot;:&quot;popu_387&quot;,&quot;extra&quot;:&quot;{\&quot;highlightScore\&quot;:0.0,\&quot;utm_medium\&quot;:\&quot;distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromBaidu~default-19-81712293-blog-123069879.pc_relevant_default\&quot;,\&quot;dist_request_id\&quot;:\&quot;1653264762438_70662\&quot;}&quot;,&quot;dist_request_id&quot;:&quot;1653264762438_70662&quot;,&quot;ab_strategy&quot;:&quot;default&quot;,&quot;index&quot;:&quot;19&quot;,&quot;strategy&quot;:&quot;2~default~BlogCommendFromBaidu~default&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_34457118/article/details/81712293&quot;}" data-report-query="spm=1001.2101.3001.6650.19&amp;utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-19-81712293-blog-123069879.pc_relevant_default&amp;depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-19-81712293-blog-123069879.pc_relevant_default&amp;utm_relevant_index=24">
				<div class="desc ellipsis-online ellipsis-online-1">&nbsp; &nbsp; 根据VM规范<em>，</em>VM应该被划分为五块<em>区</em>域——即VM栈、堆、<em>方法</em><em>区</em>、程序计数器、本地<em>方法</em>栈五个部分。如下图所示：



&nbsp; &nbsp; <em>方法</em><em>区</em>(Method Area)：该<em>区</em>域是所有线程共享<em>的</em><em>，</em>主要用于存放类<em>的</em>信息<em>，</em><em>常量</em>、静态变量、即时编译器编译<em>后</em><em>的</em>代码等。垃圾回收器对这块<em>区</em>域<em>的</em>回收主要是针对<em>常量池</em><em>和</em>类<em>的</em>卸载。

&nbsp; &nbsp; <em>java</em>堆(<em>Java</em> Heap):该<em>区</em>域也是所有线程共享<em>的</em><em>，</em>用于存放对象实例<em>，</em>绝...</div>
			</a>
		</div>
	</div>
</div>
            </div>
<div id="recommendNps" class="recommend-nps-box common-nps-box" style="display: block;">
  <h3 class="aside-title">“相关推荐”对你有帮助么？</h3>
  <div class="aside-content">
      <ul class="newnps-list">
          <li class="newnps-item" data-type="非常没帮助">
              <div class="newnps-img-box">
                  <img class="newnps-img active" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeel1.png" alt="">
                  <img class="newnps-img default" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeelGrey1.png" alt="">
              </div>
              <div class="newnps-text">非常没帮助</div>
          </li>
          <li class="newnps-item" data-type="没帮助">
              <div class="newnps-img-box">
                  <img class="newnps-img active" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeel2.png" alt="">
                  <img class="newnps-img default" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeelGrey2.png" alt="">
              </div>
              <div class="newnps-text">没帮助</div>
          </li>
          <li class="newnps-item" data-type="一般">
              <div class="newnps-img-box">
                  <img class="newnps-img active" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeel3.png" alt="">
                  <img class="newnps-img default" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeelGrey3.png" alt="">
              </div>
              <div class="newnps-text">一般</div>
          </li>
          <li class="newnps-item" data-type="有帮助">
              <div class="newnps-img-box">
                  <img class="newnps-img active" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeel4.png" alt="">
                  <img class="newnps-img default" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeelGrey4.png" alt="">
              </div>
              <div class="newnps-text">有帮助</div>
          </li>
          <li class="newnps-item" data-type="非常有帮助">
              <div class="newnps-img-box">
                  <img class="newnps-img active" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeel5.png" alt="">
                  <img class="newnps-img default" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeelGrey5.png" alt="">
              </div>
              <div class="newnps-text">非常有帮助</div>
          </li>
      </ul>
      <div class="newnps-form-box">
      <div class="newnps-form">
          <input type="text" placeholder="请输入建议或反馈后点击提交" class="newnps-input">
          <span class="newnps-btn">提交</span>
      </div>
      </div>
  </div>
</div>            <div class="template-box">
                <span>©️2022 CSDN</span>
                <span>皮肤主题：大白</span>
                <span> 设计师：CSDN官方博客</span>
                <span>
                    <a href="https://blog.csdn.net/" class="back-home c-blue c-blue-hover c-blue-focus">返回首页</a>
                </span>
            </div>
<div class="blog-footer-bottom" style="margin-top:10px;">
        <div id="copyright-box" class="">
          <div id="csdn-copyright-footer" class="column small">
            <ul class="footer-column-t">
            <li>
              <a href="https://www.csdn.net/company/index.html#about" target="_blank">关于我们</a>
            </li>
            <li>
              <a href="https://www.csdn.net/company/index.html#recruit" target="_blank">招贤纳士</a>
            </li>
            <li><a href="https://marketing.csdn.net/questions/Q2202181741262323995" target="_blank">商务合作</a></li>
            <li><a href="https://marketing.csdn.net/questions/Q2202181748074189855" target="_blank">寻求报道</a></li>
            <li>
              <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/tel.png" alt="">
              <span>400-660-0108</span>
            </li>
            <li>
              <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/email.png" alt="">
              <a href="mailto:webmaster@csdn.net" target="_blank">kefu@csdn.net</a>
            </li>
            <li>
              <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/cs.png" alt="">
              <a href="https://csdn.s2.udesk.cn/im_client/?web_plugin_id=29181" target="_blank">在线客服</a>
            </li>
            <li>
              工作时间&nbsp;8:30-22:00
            </li>
          </ul>
            <ul class="footer-column-b">
            <li><img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/badge.png" alt=""><a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010502030143" rel="noreferrer" target="_blank">公安备案号11010502030143</a></li>
            <li><a href="http://beian.miit.gov.cn/publish/query/indexFirst.action" rel="noreferrer" target="_blank">京ICP备19004658号</a></li>
            <li><a href="https://csdnimg.cn/release/live_fe/culture_license.png" rel="noreferrer" target="_blank">京网文〔2020〕1039-165号</a></li>
            <li><a href="https://csdnimg.cn/cdn/content-toolbar/csdn-ICP.png" target="_blank">经营性网站备案信息</a></li>
            <li><a href="http://www.bjjubao.org/" target="_blank">北京互联网违法和不良信息举报中心</a></li>
            <li><a href="https://download.csdn.net/tutelage/home" target="_blank">家长监护</a></li>
            <li><a href="http://www.cyberpolice.cn/" target="_blank">网络110报警服务</a></li>
            <li><a href="http://www.12377.cn/" target="_blank">中国互联网举报中心</a></li>
            <li><a href="https://chrome.google.com/webstore/detail/csdn%E5%BC%80%E5%8F%91%E8%80%85%E5%8A%A9%E6%89%8B/kfkdboecolemdjodhmhmcibjocfopejo?hl=zh-CN" target="_blank">Chrome商店下载</a></li>
            <li>©1999-2022北京创新乐知网络技术有限公司</li>
            <li><a href="https://www.csdn.net/company/index.html#statement" target="_blank">版权与免责声明</a></li>
            <li><a href="https://blog.csdn.net/blogdevteam/article/details/90369522" target="_blank">版权申诉</a></li>
            <li><a href="https://img-home.csdnimg.cn/images/20210414021151.jpg" target="_blank">出版物许可证</a></li>
            <li><a href="https://img-home.csdnimg.cn/images/20210414021142.jpg" target="_blank">营业执照</a></li>
          </ul>
          </div>
        </div>
      </div>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/csdn-footer.js.下载" data-isfootertrack="false" type="text/javascript"></script>
<script type="text/javascript">
    window.csdn.csdnFooter.options = {
        el: '.blog-footer-bottom',
        type: 2
    }
</script>        </main>
<aside class="blog_container_aside" style="position: fixed; bottom: 0px; z-index: 99; left: 142.5px; width: 300px; top: auto;">
<div id="asideProfile" class="aside-box">
    <div class="profile-intro d-flex">
        <div class="avatar-box d-flex justify-content-center flex-column">
            <a href="https://moonce.blog.csdn.net/" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_379&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4121&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net&quot;,&quot;ab&quot;:&quot;new&quot;}">
                <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/3_qq_31635851" class="avatar_pic">
            </a>
        </div>
        <div class="user-info d-flex flex-column profile-intro-name-box">
            <div class="profile-intro-name-boxTop">
                <a href="https://moonce.blog.csdn.net/" target="_blank" class="" id="uid" title="猫巳" data-report-click="{&quot;mod&quot;:&quot;popu_379&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4122&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <span class="name " username="qq_31635851">猫巳</span>
                </a>
                <span>
                </span>
                <span class="flag expert-blog">
                <span class="bubble">CSDN认证博客专家</span>
                </span>
                <span class="flag company-blog">
                <span class="bubble">CSDN认证企业博客</span>
                </span>
            </div>
            <div class="profile-intro-name-boxFooter">
                <span class="personal-home-page personal-home-years" title="已加入 CSDN 7年">码龄7年</span>
                    <span class="personal-home-page">
                    <a class="personal-home-certification" href="https://i.csdn.net/#/uc/profile?utm_source=14998968" target="_blank" title="Java领域新星创作者">
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20210412060958.png" alt="">
                    Java领域新星创作者
                    </a>
                    </span>
            </div>
        </div>
    </div>
    <div class="data-info d-flex item-tiling">
        <dl class="text-center" title="450">
            <a href="https://moonce.blog.csdn.net/" data-report-click="{&quot;mod&quot;:&quot;1598321000_001&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4310&quot;}" data-report-query="t=1">  
                <dt><span class="count">450</span></dt>
                <dd class="font">原创</dd>
            </a>
        </dl>
        <dl class="text-center" data-report-click="{&quot;mod&quot;:&quot;1598321000_002&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4311&quot;}" title="902">
            <a href="https://blog.csdn.net/rank/list/weekly" target="_blank">
                <dt><span class="count">902</span></dt>
                <dd class="font">周排名</dd>
            </a>
        </dl>
        <dl class="text-center" title="3530">
            <a href="https://blog.csdn.net/rank/list/total" data-report-click="{&quot;mod&quot;:&quot;1598321000_003&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4312&quot;}" target="_blank">
                <dt><span class="count">3530</span></dt>
                <dd class="font">总排名</dd>
            </a>
        </dl>
        <dl class="text-center" style="min-width:58px" title="406462">  
            <dt><span class="count">40万+</span></dt>
            <dd>访问</dd>
        </dl>
        <dl class="text-center" title="6级,点击查看等级说明">
            <dt><a href="https://blog.csdn.net/blogdevteam/article/details/103478461" target="_blank">
                <img class="level" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/blog6.png">
            </a>
            </dt>
            <dd>等级</dd>
        </dl>
    </div>
    <div class="item-rank"></div>
    <div class="data-info d-flex item-tiling">
        <dl class="text-center" title="6031">
            <dt><span class="count">6031</span></dt>
            <dd>积分</dd>
        </dl>
         <dl class="text-center" id="fanBox" title="3939">
            <dt><span class="count" id="fan">3939</span></dt>
            <dd>粉丝</dd>
        </dl>
        <dl class="text-center" title="487">
            <dt><span class="count">487</span></dt>
            <dd>获赞</dd>
        </dl>
        <dl class="text-center" title="213">
            <dt><span class="count">213</span></dt>
            <dd>评论</dd>
        </dl>
        <dl class="text-center" title="637">
            <dt><span class="count">637</span></dt>
            <dd>收藏</dd>
        </dl>
    </div>
    <div class="aside-box-footer">
        <div class="badge-box d-flex">
            <div class="badge d-flex">
                <div class="icon-badge" title="新人勋章">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click="{&quot;spm&quot;:&quot;3001.4296&quot;}" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/blinknewcomer@240.png" alt="新人勋章">
                    </div>
                </div>
                <div class="icon-badge" title="领英">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click="{&quot;spm&quot;:&quot;3001.4296&quot;}" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/linkedin@240.png" alt="领英">
                    </div>
                </div>
                <div class="icon-badge" title="GitHub">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click="{&quot;spm&quot;:&quot;3001.4296&quot;}" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/github@240.png" alt="GitHub">
                    </div>
                </div>
                <div class="icon-badge" title="签到王者">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click="{&quot;spm&quot;:&quot;3001.4296&quot;}" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/qiandao100@240.png" alt="签到王者">
                    </div>
                </div>
                <div class="icon-badge" title="阅读者勋章Lv2">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click="{&quot;spm&quot;:&quot;3001.4296&quot;}" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/yuedu7@240.png" alt="阅读者勋章Lv2">
                    </div>
                </div>
                <div class="icon-badge" title="持之以恒">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click="{&quot;spm&quot;:&quot;3001.4296&quot;}" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/chizhiyiheng@240.png" alt="持之以恒">
                    </div>
                </div>
                <div class="icon-badge" title="1024勋章">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click="{&quot;spm&quot;:&quot;3001.4296&quot;}" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/1024@240.png" alt="1024勋章">
                    </div>
                </div>
                <div class="icon-badge" title="勤写标兵Lv4">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click="{&quot;spm&quot;:&quot;3001.4296&quot;}" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/qixiebiaobing4@240.png" alt="勤写标兵Lv4">
                    </div>
                </div>
                <div class="icon-badge" title="分享精英">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click="{&quot;spm&quot;:&quot;3001.4296&quot;}" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/fenxiangjingying@240.png" alt="分享精英">
                    </div>
                </div>
                <div class="icon-badge" title="Java">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click="{&quot;spm&quot;:&quot;3001.4296&quot;}" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/skilljava@240.png" alt="Java">
                    </div>
                </div>
                <div class="icon-badge" title="工具">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click="{&quot;spm&quot;:&quot;3001.4296&quot;}" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/skilltool@240.png" alt="工具">
                    </div>
                </div>
                <div class="icon-badge" title="笔记达人Lv1">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click="{&quot;spm&quot;:&quot;3001.4296&quot;}" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/bijidarenLv1.png" alt="笔记达人Lv1">
                    </div>
                </div>
                <div class="icon-badge" title="习惯养成Lv1">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click="{&quot;spm&quot;:&quot;3001.4296&quot;}" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/xiguanyangchengLv1.png" alt="习惯养成Lv1">
                    </div>
                </div>
                <div class="icon-badge" title="云原生入门">
                    <div class="mouse-box">
                        <img class="medal-img" data-report-click="{&quot;spm&quot;:&quot;3001.4296&quot;}" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/skill_yunyuansheng.png" alt="云原生入门">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="profile-intro-name-boxOpration">
        <div class="opt-letter-watch-box">
        <a class="bt-button personal-letter" href="https://im.csdn.net/chat/qq_31635851" target="_blank" rel="noopener">私信</a>
        </div>
        <div class="opt-letter-watch-box"> 
            <a class="personal-watch bt-button" id="btnAttent">关注</a>  
        </div>
    </div>
</div>
 <div id="asideSearchArticle" class="aside-box">
	<div class="aside-content search-comter">
    <div class="aside-search aside-search-blog">         
        <input type="text" class="input-serch-blog" name="" autocomplete="off" value="" id="search-blog-words" placeholder="搜博主文章">
        <a class="btn-search-blog">
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/csdn-sou.png">
        </a>
    </div>
    </div>
</div>


<div id="asideHotArticle" class="aside-box">
	<h3 class="aside-title">热门文章</h3>
	<div class="aside-content">
		<ul class="hotArticle-list">
			<li>
				<a href="https://moonce.blog.csdn.net/article/details/111167101" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_541&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4139&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net/article/details/111167101&quot;,&quot;ab&quot;:&quot;new&quot;}">
				【Java 8 新特性】Java Stream 通过min()和max()获取列表最小值和最大值
					<img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					<span class="read">22424</span>
                </a>
			</li>
			<li>
				<a href="https://moonce.blog.csdn.net/article/details/111176752" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_541&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4139&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net/article/details/111176752&quot;,&quot;ab&quot;:&quot;new&quot;}">
				【Java 8 新特性】Java Stream通过findFirst()查找满足条件的一条数据
					<img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					<span class="read">17644</span>
                </a>
			</li>
			<li>
				<a href="https://moonce.blog.csdn.net/article/details/111145708" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_541&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4139&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net/article/details/111145708&quot;,&quot;ab&quot;:&quot;new&quot;}">
				【Java 8 新特性】如何将Java流(Stream)转化成数组(Array)
					<img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					<span class="read">17275</span>
                </a>
			</li>
			<li>
				<a href="https://moonce.blog.csdn.net/article/details/111151900" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_541&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4139&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net/article/details/111151900&quot;,&quot;ab&quot;:&quot;new&quot;}">
				【Java 8 新特性】Java Stream.of()用法示例
					<img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					<span class="read">15455</span>
                </a>
			</li>
			<li>
				<a href="https://moonce.blog.csdn.net/article/details/111164125" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_541&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4139&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net/article/details/111164125&quot;,&quot;ab&quot;:&quot;new&quot;}">
				【Java 8 新特性】Java Stream通过count()获取流数据元素总数
					<img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/readCountWhite.png" alt="">
					<span class="read">13827</span>
                </a>
			</li>
		</ul>
	</div>
</div>
<div id="asideCategory" class="aside-box flexible-box">
    <h3 class="aside-title">分类专栏</h3>
    <div class="aside-content">
        <ul>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_7182252.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_7182252.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar "></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923134311166.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Java编程
                    </span>
                </a>
                <span class="special-column-num">234篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10653673.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10653673.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20201211144711512(1).png" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Java 8
                    </span>
                </a>
                <span class="special-column-num">102篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_11364581.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_11364581.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20210917145106349.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Spring Boot
                    </span>
                </a>
                <span class="special-column-num">34篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_11525325.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_11525325.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/bcc0da045a4a40d9b39273b87bd41ab7.png" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Lombok
                    </span>
                </a>
                <span class="special-column-num">24篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414513.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414513.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923154947679.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        JVM
                    </span>
                </a>
                <span class="special-column-num">8篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414556.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414556.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923155838106.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        并发编程
                    </span>
                </a>
                <span class="special-column-num">15篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10413975.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10413975.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923135310113.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Spring
                    </span>
                </a>
                <span class="special-column-num">24篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414309.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414309.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/2020092315120032.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        MyBatis
                    </span>
                </a>
                <span class="special-column-num">7篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414365.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414365.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923152043628.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Dubbo
                    </span>
                </a>
                <span class="special-column-num">1篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414305.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414305.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923151032934.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Redis
                    </span>
                </a>
                <span class="special-column-num">4篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414327.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414327.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923151539449.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        RabbitMQ
                    </span>
                </a>
                <span class="special-column-num">15篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414350.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414350.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923151843649.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        ActiveMQ
                    </span>
                </a>
                <span class="special-column-num">4篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414333.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414333.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923151712723.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Kafka
                    </span>
                </a>
                <span class="special-column-num">11篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_7791581.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_7791581.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923135216421.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Swing
                    </span>
                </a>
                <span class="special-column-num">8篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_7182254.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_7182254.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar "></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923141741625.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        数据库
                    </span>
                </a>
                <span class="special-column-num">10篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414064.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414064.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/2020092314160443.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        MySQL
                    </span>
                </a>
                <span class="special-column-num">8篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414091.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414091.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923142148166.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Oracle
                    </span>
                </a>
                <span class="special-column-num">2篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_7186068.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_7186068.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar "></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923141837451.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        工具教程
                    </span>
                </a>
                <span class="special-column-num">32篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_8066635.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_8066635.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923142405854.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Docker
                    </span>
                </a>
                <span class="special-column-num">9篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_11821626.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_11821626.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/1f1f026a306c4823a1c3becd204ad375.png" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Kubernetes
                    </span>
                </a>
                <span class="special-column-num">4篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_8062254.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_8062254.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923142250848.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Nginx
                    </span>
                </a>
                <span class="special-column-num">12篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_8060267.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_8060267.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/2020092314233486.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Tomcat
                    </span>
                </a>
                <span class="special-column-num">2篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414677.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414677.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923161034957.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Apache
                    </span>
                </a>
                <span class="special-column-num">2篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414671.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414671.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923160914315.png" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Maven
                    </span>
                </a>
                <span class="special-column-num">2篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414259.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414259.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923150353939.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Git
                    </span>
                </a>
                <span class="special-column-num">2篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10568968.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10568968.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20201111152355982.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Jenkins
                    </span>
                </a>
                <span class="special-column-num">1篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10437561.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10437561.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20201109150634145.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Nexus
                    </span>
                </a>
                <span class="special-column-num">3篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_11779670.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_11779670.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/782e9dc2c3de44899569df2c70f8c4b8.png" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        内网穿透
                    </span>
                </a>
                <span class="special-column-num">2篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414279.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414279.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923150620801.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Idea
                    </span>
                </a>
                <span class="special-column-num">4篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414292.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414292.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923150806476.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Svn
                    </span>
                </a>
                <span class="special-column-num">1篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_8054098.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_8054098.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar "></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923141954680.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        系统操作
                    </span>
                </a>
                <span class="special-column-num">24篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_11671205.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_11671205.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20201014180756925.png" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Ubuntu 20.04 LTS
                    </span>
                </a>
                <span class="special-column-num">14篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414106.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414106.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923142508457.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Linux
                    </span>
                </a>
                <span class="special-column-num">17篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414113.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414113.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar special-column-bar-second"></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923142638902.png" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        Windows
                    </span>
                </a>
                <span class="special-column-num">6篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_7182253.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_7182253.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar "></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923134516732.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        前端编程
                    </span>
                </a>
                <span class="special-column-num">9篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414529.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414529.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar "></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923155312771.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        设计模式
                    </span>
                </a>
                <span class="special-column-num">28篇</span>
            </li>
            <li>
                <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414448.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414448.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                    <div class="special-column-bar "></div>
                    <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923153641733.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                    <span class="title oneline">
                        面试精选
                    </span>
                </a>
                <span class="special-column-num">69篇</span>
            </li>
        </ul>
    </div>
    <p class="text-center">
        <a class="flexible-btn" data-fbox="aside-archive"><img class="look-more" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/arrowDownWhite.png" alt=""></a>
    </p>
</div>
<div id="asideNewComments" class="aside-box">
    <h3 class="aside-title">最新评论</h3>
    <div class="aside-content">
        <ul class="newcomment-list">
            <li>
                <a class="title text-truncate" target="_blank" href="https://moonce.blog.csdn.net/article/details/124384861#comments_21546802" data-report-click="{&quot;mod&quot;:&quot;popu_542&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4231&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net/article/details/124384861#comments_21546802&quot;,&quot;ab&quot;:&quot;new&quot;}">【Nginx】Nginx代理proxy pass配置去除前缀</a>
                <p class="comment ellipsis">
                    <a href="https://blog.csdn.net/weixin_43742828" class="user-name" target="_blank">白墨MO: </a>
                    <span class="code-comments">最后一个有效！</span>
                </p>
            </li>
            <li>
                <a class="title text-truncate" target="_blank" href="https://moonce.blog.csdn.net/article/details/116593033#comments_21508973" data-report-click="{&quot;mod&quot;:&quot;popu_542&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4231&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net/article/details/116593033#comments_21508973&quot;,&quot;ab&quot;:&quot;new&quot;}">【Java 8 新特性】Java 8 Function 示例</a>
                <p class="comment ellipsis">
                    <a href="https://blog.csdn.net/hongyinanhai00" class="user-name" target="_blank">浦江之猿: </a>
                    <span class="code-comments">好棒，祝你在IT之路上少走弯路，一路绿灯不堵车，测试一性通过，bug秒解</span>
                </p>
            </li>
            <li>
                <a class="title text-truncate" target="_blank" href="https://moonce.blog.csdn.net/article/details/124817683#comments_21485211" data-report-click="{&quot;mod&quot;:&quot;popu_542&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4231&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net/article/details/124817683#comments_21485211&quot;,&quot;ab&quot;:&quot;new&quot;}">【Centos】最小安装Centos后需要做的基础工作</a>
                <p class="comment ellipsis">
                    <a href="https://moonce.blog.csdn.net/" class="user-name" target="_blank">猫巳: </a>
                    <span class="code-comments">改过来了。<img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/008.png" alt="表情包"></span>
                </p>
            </li>
            <li>
                <a class="title text-truncate" target="_blank" href="https://moonce.blog.csdn.net/article/details/124817683#comments_21484829" data-report-click="{&quot;mod&quot;:&quot;popu_542&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4231&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net/article/details/124817683#comments_21484829&quot;,&quot;ab&quot;:&quot;new&quot;}">【Centos】最小安装Centos后需要做的基础工作</a>
                <p class="comment ellipsis">
                    <a href="https://tengqingshan.blog.csdn.net/" class="user-name" target="_blank">滕青山YYDS: </a>
                    <span class="code-comments">单词拼错了吧，CentOS</span>
                </p>
            </li>
            <li>
                <a class="title text-truncate" target="_blank" href="https://moonce.blog.csdn.net/article/details/123346276#comments_21449485" data-report-click="{&quot;mod&quot;:&quot;popu_542&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4231&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net/article/details/123346276#comments_21449485&quot;,&quot;ab&quot;:&quot;new&quot;}">【Ubuntu 20.04 LTS】安装 QQ 、微信和企业微信</a>
                <p class="comment ellipsis">
                    <a href="https://moonce.blog.csdn.net/" class="user-name" target="_blank">猫巳: </a>
                    <span class="code-comments">chmod 755 install_2.8.22.sh
./install_2.8.22.sh

你或者试试上面的测试版本，linux系统就是折腾呗，等有空我再把这篇文章改改，谢谢提醒哈。<img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/010.png" alt="表情包"></span>
                </p>
            </li>
        </ul>
    </div>
</div>
<div id="asideNewNps" class="aside-box common-nps-box" style="display: block;">
    <h3 class="aside-title">您愿意向朋友推荐“博客详情页”吗？</h3>
    <div class="aside-content">
        <ul class="newnps-list">
            <li class="newnps-item" data-type="强烈不推荐">
                <div class="newnps-img-box">
                    <img class="newnps-img active" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeel1.png" alt="">
                    <img class="newnps-img default" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeelGrey1.png" alt="">
                </div>
                <div class="newnps-text">强烈不推荐</div>
            </li>
            <li class="newnps-item" data-type="不推荐">
                <div class="newnps-img-box">
                    <img class="newnps-img active" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeel2.png" alt="">
                    <img class="newnps-img default" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeelGrey2.png" alt="">
                </div>
                <div class="newnps-text">不推荐</div>
            </li>
            <li class="newnps-item" data-type="一般般">
                <div class="newnps-img-box">
                    <img class="newnps-img active" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeel3.png" alt="">
                    <img class="newnps-img default" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeelGrey3.png" alt="">
                </div>
                <div class="newnps-text">一般般</div>
            </li>
            <li class="newnps-item" data-type="推荐">
                <div class="newnps-img-box">
                    <img class="newnps-img active" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeel4.png" alt="">
                    <img class="newnps-img default" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeelGrey4.png" alt="">
                </div>
                <div class="newnps-text">推荐</div>
            </li>
            <li class="newnps-item" data-type="强烈推荐">
                <div class="newnps-img-box">
                    <img class="newnps-img active" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeel5.png" alt="">
                    <img class="newnps-img default" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/npsFeelGrey5.png" alt="">
                </div>
                <div class="newnps-text">强烈推荐</div>
            </li>
        </ul>
        <div class="newnps-form-box">
        <div class="newnps-form">
            <input type="text" placeholder="请输入建议或反馈后点击提交" class="newnps-input">
            <span class="newnps-btn">提交</span>
        </div>
        </div>
    </div>
</div>
<div id="asideArchive" class="aside-box" style="display:block!important; width:300px;">
    <h3 class="aside-title">最新文章</h3>
    <div class="aside-content">
        <ul class="inf_list clearfix">
            <li class="clearfix">
            <a href="https://moonce.blog.csdn.net/article/details/124860447" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_382&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4136&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net/article/details/124860447&quot;,&quot;ab&quot;:&quot;new&quot;}">【Kubernetes】centos7搭建k8s集群（四） - 网络原理讲解</a>
            </li>
            <li class="clearfix">
            <a href="https://moonce.blog.csdn.net/article/details/124843931" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_382&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4136&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net/article/details/124843931&quot;,&quot;ab&quot;:&quot;new&quot;}">【Kubernetes】centos7搭建k8s集群（三） - 存储使用与讲解</a>
            </li>
            <li class="clearfix">
            <a href="https://moonce.blog.csdn.net/article/details/124826907" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_382&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4136&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net/article/details/124826907&quot;,&quot;ab&quot;:&quot;new&quot;}">【Kubernetes】centos7搭建k8s集群（二） - 操作命令与讲解</a>
            </li>
        </ul>
        <div class="archive-bar"></div>
        <div class="archive-box">
                <div class="archive-list-item"><a href="https://moonce.blog.csdn.net/?type=blog&amp;year=2022&amp;month=05" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_538&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4138&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net?type=blog&amp;year=2022&amp;month=05&quot;}"><span class="year">2022年</span><span class="num">25篇</span></a></div>
                <div class="archive-list-item"><a href="https://moonce.blog.csdn.net/?type=blog&amp;year=2021&amp;month=12" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_538&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4138&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net?type=blog&amp;year=2021&amp;month=12&quot;}"><span class="year">2021年</span><span class="num">135篇</span></a></div>
                <div class="archive-list-item"><a href="https://moonce.blog.csdn.net/?type=blog&amp;year=2020&amp;month=12" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_538&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4138&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net?type=blog&amp;year=2020&amp;month=12&quot;}"><span class="year">2020年</span><span class="num">65篇</span></a></div>
                <div class="archive-list-item"><a href="https://moonce.blog.csdn.net/?type=blog&amp;year=2019&amp;month=12" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_538&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4138&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net?type=blog&amp;year=2019&amp;month=12&quot;}"><span class="year">2019年</span><span class="num">204篇</span></a></div>
                <div class="archive-list-item"><a href="https://moonce.blog.csdn.net/?type=blog&amp;year=2018&amp;month=12" target="_blank" data-report-click="{&quot;mod&quot;:&quot;popu_538&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4138&quot;,&quot;ab&quot;:&quot;new&quot;,&quot;dest&quot;:&quot;https://moonce.blog.csdn.net?type=blog&amp;year=2018&amp;month=12&quot;}"><span class="year">2018年</span><span class="num">23篇</span></a></div>
        </div>
    </div>
</div>
	<div id="footerRightAds" class="isShowFooterAds">
		<div class="aside-box">
			<div id="kp_box_57" data-pid="57"><!-- google -->
<ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-1076724771190722" data-ad-slot="1894159733" data-ad-format="auto" data-full-width-responsive="true" data-adsbygoogle-status="done">
  <!-- 插入 万维广告 2-1 -->
  <div class="wwads-cn wwads-vertical" data-id="149" style="margin-top: 0;margin-bottom: 8px;background-color: #fff;max-width:300px;"></div>
  <!-- 插入 万维广告 3-1 -->
</ins>

<script async="" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/f(7).txt" crossorigin="anonymous" data-checked-head="true"></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({});
</script>

<!-- 插入 万维广告 3-2 -->
<script type="text/javascript" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/makemoney.js.下载" async=""></script>
<!-- 插入 万维广告 3-2 -->

<!-- 插入 万维广告 3-3 -->
<style>
  ins.adsbygoogle > .wwads-cn {
    display: none !important;
  }
  ins.adsbygoogle[data-ad-status='unfilled'] {
    height: auto !important;
  }
  ins.adsbygoogle[data-ad-status='unfilled'] > * {
    display: none !important;
  }
  ins.adsbygoogle[data-ad-status='unfilled'] > .wwads-cn {
    display: block !important;
    text-align: center; /* 万维广告局中 */
  }
</style>
<!-- 插入 万维广告 3-3 --><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=57&amp;adId=707&amp;a=707&amp;c=0&amp;k=【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了&amp;spm=1001.2101.3001.5001&amp;articleId=123069879&amp;d=1&amp;t=3&amp;u=59a7ca5f8c0d449694ecd41647de9a86" style="display: block;width: 0px;height: 0px;" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/1.png"></div>
		</div>
	</div>
    <!-- 详情页显示目录 -->
<!--文章目录-->
<div id="asidedirectory" class="aside-box">
    <div class="groupfile" id="directory">
        <h3 class="aside-title">目录</h3>
        <div class="align-items-stretch group_item">
            <div class="pos-box">
            <div class="scroll-box">
                <div class="toc-box"><ol><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t0">文章目录</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t1">java8内存结构图</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t2">虚拟机内存与本地内存的区别</a></li><li class="sub-box"><ol><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t3">JVM内存</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t4">本地内存</a></li></ol></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t5">java运行时数据区域</a></li><li class="sub-box"><ol><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t6">程序计数器（Program Counter Register）</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t7">虚拟机栈（JVM Stacks）</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t8">虚拟机栈可能会抛出两种异常：</a></li></ol></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t9">本地方法栈（Native Method Stacks）</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t10">Java堆（Java Heap）</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t11">方法区(Method Area)</a></li><li class="sub-box"><ol><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t12">类元信息（Klass）</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t13">运行时常量池（Runtime Constant Pool）</a></li></ol></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t14">直接内存</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t15">常见问题</a></li><li class="sub-box"><ol><li class="active"><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t16">什么是Native方法？</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t17">成员变量、局部变量、类变量分别存储在内存的什么地方？</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t18">由final修饰的常量存放在哪里？</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t19">类常量池、运行时常量池、字符串常量池有什么关系？有什么区别？</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t20">什么是字面量？什么是符号引用？</a></li></ol></li></ol></div>
            </div>
            </div>
        </div>
    </div>
</div>
</aside>
<script>
	$("a.flexible-btn").click(function(){
		$(this).parents('div.aside-box').removeClass('flexible-box');
		$(this).parents("p.text-center").remove();
	})
</script>
<script type="text/javascript" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/user-tooltip.js.下载"></script>
<script type="text/javascript" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/user-medal.js.下载"></script>    </div>
<div class="recommend-right align-items-stretch clearfix" id="rightAside" data-type="recommend" style="height: auto !important;">
    <aside class="recommend-right_aside" style="height: auto !important;">
        <div id="recommend-right" style="position: fixed; top: 56px;">
                        <div class="flex-column aside-box groupfile" id="groupfile" style="display: block; max-height: 468.5px;">
                <div class="groupfile-div" style="max-height: 468.5px;">
                <h3 class="aside-title">目录</h3>
                <div class="align-items-stretch group_item">
                    <div class="pos-box">
                        <div class="scroll-box">
                            <div class="toc-box"><ol><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t0">文章目录</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t1">java8内存结构图</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t2">虚拟机内存与本地内存的区别</a></li><li class="sub-box"><ol><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t3">JVM内存</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t4">本地内存</a></li></ol></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t5">java运行时数据区域</a></li><li class="sub-box"><ol><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t6">程序计数器（Program Counter Register）</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t7">虚拟机栈（JVM Stacks）</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t8">虚拟机栈可能会抛出两种异常：</a></li></ol></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t9">本地方法栈（Native Method Stacks）</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t10">Java堆（Java Heap）</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t11">方法区(Method Area)</a></li><li class="sub-box"><ol><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t12">类元信息（Klass）</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t13">运行时常量池（Runtime Constant Pool）</a></li></ol></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t14">直接内存</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t15">常见问题</a></li><li class="sub-box"><ol><li class="active"><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t16">什么是Native方法？</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t17">成员变量、局部变量、类变量分别存储在内存的什么地方？</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t18">由final修饰的常量存放在哪里？</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t19">类常量池、运行时常量池、字符串常量池有什么关系？有什么区别？</a></li><li class=""><a href="https://blog.csdn.net/qq_31635851/article/details/123069879#t20">什么是字面量？什么是符号引用？</a></li></ol></li></ol></div>
                        </div>
                    </div>
                </div>
                </div>
            </div>
                <div id="recommendAdBox">
                    <div id="kp_box_479" data-pid="479"><!-- google -->
<ins class="adsbygoogle" style="display: block; height: 600px;" data-ad-client="ca-pub-1076724771190722" data-ad-slot="3484057394" data-ad-format="auto" data-full-width-responsive="true" data-adsbygoogle-status="done" data-ad-status="filled">
  <!-- 插入 万维广告 2-1 -->
  <div class="wwads-cn wwads-vertical" data-id="149" style="margin-top: 0;margin-bottom: 8px;background-color: #fff;max-width:300px;"></div>
  <!-- 插入 万维广告 3-1 -->
<ins id="aswift_1_expand" style="border: none; height: 600px; width: 300px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-table;" tabindex="0" title="Advertisement" aria-label="Advertisement"><ins id="aswift_1_anchor" style="border: none; height: 600px; width: 300px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: block; overflow: visible;"><iframe id="aswift_1" name="aswift_1" style="left:0;position:absolute;top:0;border:0;width:300px;height:600px" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" width="300" height="600" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/ads.html" data-google-container-id="a!2" data-google-query-id="CK-Uyper9PcCFZAxvAodozUBgg" data-load-complete="true"></iframe></ins></ins></ins>

<script async="" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/f(7).txt" crossorigin="anonymous" data-checked-head="true"></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({});
</script>

<!-- 插入 万维广告 3-2 -->
<script type="text/javascript" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/makemoney.js.下载" async=""></script>
<!-- 插入 万维广告 3-2 -->

<!-- 插入 万维广告 3-3 -->
<style>
  ins.adsbygoogle > .wwads-cn {
    display: none !important;
  }
  ins.adsbygoogle[data-ad-status='unfilled'] {
    height: auto !important;
  }
  ins.adsbygoogle[data-ad-status='unfilled'] > * {
    display: none !important;
  }
  ins.adsbygoogle[data-ad-status='unfilled'] > .wwads-cn {
    display: block !important;
    text-align: center; /* 万维广告局中 */
  }
</style>
<!-- 插入 万维广告 3-3 --><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=479&amp;adId=6036&amp;a=6036&amp;c=0&amp;k=【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了&amp;spm=1001.2101.3001.4834&amp;articleId=123069879&amp;d=1&amp;t=3&amp;u=d12dd8dafa774f62974763772d3b663f" style="display: block;width: 0px;height: 0px;" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/1(1).png"></div>
                </div>
            <div class="aside-box kind_person d-flex flex-column">
                    <h3 class="aside-title">分类专栏</h3>
                    <div class="align-items-stretch kindof_item" id="kind_person_column">
                        <div class="aside-content">
                            <ul>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_7182252.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_7182252.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar "></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923134311166.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Java编程
                                        </span>
                                    </a>
                                    <span class="special-column-num">234篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10653673.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10653673.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20201211144711512(1).png" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Java 8
                                        </span>
                                    </a>
                                    <span class="special-column-num">102篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_11364581.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_11364581.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20210917145106349.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Spring Boot
                                        </span>
                                    </a>
                                    <span class="special-column-num">34篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_11525325.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_11525325.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/bcc0da045a4a40d9b39273b87bd41ab7.png" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Lombok
                                        </span>
                                    </a>
                                    <span class="special-column-num">24篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414513.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414513.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923154947679.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            JVM
                                        </span>
                                    </a>
                                    <span class="special-column-num">8篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414556.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414556.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923155838106.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            并发编程
                                        </span>
                                    </a>
                                    <span class="special-column-num">15篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10413975.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10413975.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923135310113.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Spring
                                        </span>
                                    </a>
                                    <span class="special-column-num">24篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414309.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414309.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/2020092315120032.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            MyBatis
                                        </span>
                                    </a>
                                    <span class="special-column-num">7篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414365.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414365.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923152043628.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Dubbo
                                        </span>
                                    </a>
                                    <span class="special-column-num">1篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414305.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414305.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923151032934.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Redis
                                        </span>
                                    </a>
                                    <span class="special-column-num">4篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414327.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414327.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923151539449.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            RabbitMQ
                                        </span>
                                    </a>
                                    <span class="special-column-num">15篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414350.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414350.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923151843649.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            ActiveMQ
                                        </span>
                                    </a>
                                    <span class="special-column-num">4篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414333.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414333.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923151712723.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Kafka
                                        </span>
                                    </a>
                                    <span class="special-column-num">11篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_7791581.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_7791581.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923135216421.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Swing
                                        </span>
                                    </a>
                                    <span class="special-column-num">8篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_7182254.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_7182254.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar "></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923141741625.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            数据库
                                        </span>
                                    </a>
                                    <span class="special-column-num">10篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414064.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414064.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/2020092314160443.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            MySQL
                                        </span>
                                    </a>
                                    <span class="special-column-num">8篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414091.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414091.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923142148166.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Oracle
                                        </span>
                                    </a>
                                    <span class="special-column-num">2篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_7186068.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_7186068.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar "></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923141837451.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            工具教程
                                        </span>
                                    </a>
                                    <span class="special-column-num">32篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_8066635.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_8066635.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923142405854.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Docker
                                        </span>
                                    </a>
                                    <span class="special-column-num">9篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_11821626.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_11821626.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/1f1f026a306c4823a1c3becd204ad375.png" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Kubernetes
                                        </span>
                                    </a>
                                    <span class="special-column-num">4篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_8062254.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_8062254.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923142250848.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Nginx
                                        </span>
                                    </a>
                                    <span class="special-column-num">12篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_8060267.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_8060267.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/2020092314233486.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Tomcat
                                        </span>
                                    </a>
                                    <span class="special-column-num">2篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414677.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414677.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923161034957.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Apache
                                        </span>
                                    </a>
                                    <span class="special-column-num">2篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414671.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414671.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923160914315.png" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Maven
                                        </span>
                                    </a>
                                    <span class="special-column-num">2篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414259.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414259.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923150353939.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Git
                                        </span>
                                    </a>
                                    <span class="special-column-num">2篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10568968.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10568968.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20201111152355982.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Jenkins
                                        </span>
                                    </a>
                                    <span class="special-column-num">1篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10437561.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10437561.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20201109150634145.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Nexus
                                        </span>
                                    </a>
                                    <span class="special-column-num">3篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_11779670.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_11779670.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/782e9dc2c3de44899569df2c70f8c4b8.png" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            内网穿透
                                        </span>
                                    </a>
                                    <span class="special-column-num">2篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414279.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414279.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923150620801.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Idea
                                        </span>
                                    </a>
                                    <span class="special-column-num">4篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414292.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414292.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923150806476.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Svn
                                        </span>
                                    </a>
                                    <span class="special-column-num">1篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_8054098.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_8054098.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar "></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923141954680.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            系统操作
                                        </span>
                                    </a>
                                    <span class="special-column-num">24篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_11671205.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_11671205.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20201014180756925.png" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Ubuntu 20.04 LTS
                                        </span>
                                    </a>
                                    <span class="special-column-num">14篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414106.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414106.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923142508457.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Linux
                                        </span>
                                    </a>
                                    <span class="special-column-num">17篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414113.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414113.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar special-column-bar-second"></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923142638902.png" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            Windows
                                        </span>
                                    </a>
                                    <span class="special-column-num">6篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_7182253.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_7182253.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar "></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923134516732.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            前端编程
                                        </span>
                                    </a>
                                    <span class="special-column-num">9篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414529.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414529.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar "></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923155312771.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            设计模式
                                        </span>
                                    </a>
                                    <span class="special-column-num">28篇</span>
                                </li>
                                <li>
                                    <a class="clearfix special-column-name" target="_blank" href="https://blog.csdn.net/qq_31635851/category_10414448.html" data-report-click="{&quot;mod&quot;:&quot;popu_537&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4137&quot;,&quot;strategy&quot;:&quot;pc付费专栏左侧入口&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/qq_31635851/category_10414448.html&quot;,&quot;ab&quot;:&quot;new&quot;}">
                                        <div class="special-column-bar "></div>
                                        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/20200923153641733.jpg" alt="" onerror="this.src=&#39;https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64&#39;">
                                        <span class="">
                                            面试精选
                                        </span>
                                    </a>
                                    <span class="special-column-num">69篇</span>
                                </li>
                            </ul>
                        </div>
                    </div>
            </div>
        </div>
    </aside>
</div>



</div><ins class="adsbygoogle adsbygoogle-noablate" data-adsbygoogle-status="done" style="display: none !important;" data-ad-status="unfilled"><ins id="aswift_0_expand" style="border: none; height: 0px; width: 0px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-table;" tabindex="0" title="Advertisement" aria-label="Advertisement"><ins id="aswift_0_anchor" style="border: none; height: 0px; width: 0px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: block;"><iframe id="aswift_0" name="aswift_0" style="left:0;position:absolute;top:0;border:0;width:undefinedpx;height:undefinedpx" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/ads(1).html" data-google-container-id="a!1" data-load-complete="true"></iframe></ins></ins></ins>
<div class="mask-dark"></div>
<script type="text/javascript">
    var timert = setInterval(function() {
      sideToolbar = $(".csdn-side-toolbar");
      if (sideToolbar.length > 0) {
        sideToolbar.css('cssText','bottom:64px !important;')
        clearInterval(timert);
      }
    }, 200);
</script>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/sandalstrap.min.js.下载"></script>
<div class="skin-boxshadow"></div>
<div class="directory-boxshadow"></div>
<div class="pay-code">
    <div class="pay-money">实付<span class="pay-money-span" data-nowprice="" data-oldprice="">元</span></div>
    <div class="content-blance"><a class="blance-bt" href="javascript:;">使用余额支付</a></div>
    <div class="content-code">
    <div id="payCode" data-id="">
            <div class="renovate">
                <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/pay-time-out.png">
                <span>点击重新获取</span>
            </div>
        </div>
        <div class="pay-style"><span><img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/weixin.png"></span><span><img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/zhifubao.png"></span><span><img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/jingdong.png"></span><span class="text">扫码支付</span></div>
    </div>
    <div class="bt-close"><svg t="1567152543821" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10924" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12"><defs><style type="text/css"></style></defs><path d="M512 438.378667L806.506667 143.893333a52.032 52.032 0 1 1 73.6 73.621334L585.621333 512l294.485334 294.485333a52.074667 52.074667 0 0 1-73.6 73.642667L512 585.621333 217.514667 880.128a52.053333 52.053333 0 1 1-73.621334-73.642667L438.378667 512 143.893333 217.514667a52.053333 52.053333 0 1 1 73.621334-73.621334L512 438.378667z" fill="" p-id="10925"></path></svg></div>
    <!-- <p style="margin-top: 8px;font-size: 14px;" class="text-center">支付成功即可阅读</p> -->
    <div class="pay-balance">
    <input type="radio" class="pay-code-radio" data-type="details"> 
    <span class="span">钱包余额</span>
    <span class="balance" style="color:#FC5531;font-size:14px;">0</span>  
    <div class="pay-code-tile">
        <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/pay-help.png" alt="">
        <div class="pay-code-content">
            <div class="span">
                <p class="title">抵扣说明：</p>
                <p> 1.余额是钱包充值的虚拟货币，按照1:1的比例进行支付金额的抵扣。<br> 2.余额无法直接购买下载，可以购买VIP、C币套餐、付费专栏及课程。</p>
            </div>
        </div>
    </div>
    </div>
    <a class="pay-balance-con" href="https://i.csdn.net/#/wallet/balance/recharge" target="_blank"><img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/recharge.png" alt=""><span>余额充值</span></a>
</div>
<div style="display:none;">
	<img src="https://blog.csdn.net/qq_31635851/article/details/123069879" onerror="setTimeout(function(){if(!/(csdn.net|iteye.com|baiducontent.com|googleusercontent.com|360webcache.com|sogoucdn.com|bingj.com|baidu.com)$/.test(window.location.hostname)){window.location.href=&quot;\x68\x74\x74\x70\x73\x3a\x2f\x2f\x77\x77\x77\x2e\x63\x73\x64\x6e\x2e\x6e\x65\x74&quot;}},3000);">
</div>
<div class="keyword-dec-box" id="keywordDecBox" style="display: none;"></div>

<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/pc_wap_highlight-7e7de84184.min.js.下载" type="text/javascript"></script>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/pc_wap_common-fbcbe8567e.min.js.下载" type="text/javascript"></script>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/edit_copy_code-9c83e748f5.min.js.下载" type="text/javascript"></script>
<link rel="stylesheet" href="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/github-gist.css">
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/user-accusation.js.下载" type="text/javascript"></script>
<script>
 // 全局声明
 if (window.csdn === undefined) {
      window.csdn = {};
    }
    window.csdn.sideToolbar = {
        options: {
            report:{
                isShow: true,
            },
            qr: {
                isShow: false,
            },
            guide: {
                isShow: true
            }
        }
    }
    $(function(){
        $(document).on('click',"a.option-box[data-type='report']",function() {
            window.csdn.userLogin.loadAjax(function(res){
                window.csdn.feedback({
                    "type":'blog',
                    "rtype":'article',
                    "rid":articleId,
                    "reportedName":username,
                    "submitOptions":{
                        "title":articleTitle,
                        "contentUrl":articleDetailUrl
                    },
                    "callback":function(){
                        showToast({
                            text: "感谢您的举报，我们会尽快审核！",
                            bottom: '10%', 
                            zindex: 9000, 
                            speed: 500,
                            time: 1500
                        });
                    }
                })
            })
        });
    })
</script>
    <script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/baidu-search.js.下载" type="text/javascript"></script>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/qrcode.js.下载"></script>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/qrcode.min.js.下载"></script>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/user-ordercart.js.下载" type="text/javascript"></script>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/user-ordertip.js.下载" type="text/javascript"></script>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/order-payment.js.下载" type="text/javascript"></script>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/common-a1dfbf1dc3.min.js.下载" type="text/javascript"></script>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/detail-fe30dc476d.min.js.下载" type="text/javascript"></script>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/column-021ccc1be7.min.js.下载" type="text/javascript"></script>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/side-toolbar.js.下载" type="text/javascript"></script>
<script src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/copyright.js.下载" type="text/javascript"></script>
<script>
    $(".MathJax").remove();
    if ($('div.markdown_views pre.prettyprint code.hljs').length > 0) {
        $('div.markdown_views')[0].className = 'markdown_views';
    }
</script>
<script type="text/javascript" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/MathJax.js.下载"></script>
<script type="text/x-mathjax-config;executed=true">
    MathJax.Hub.Config({
            "HTML-CSS": {
                    linebreaks: { automatic: true, width: "94%container" },
                    imageFont: null
            },
            tex2jax: {
                preview: "none",
                ignoreClass:"title-article"
            },
            mml2jax: {
                preview: 'none'
            }
    });
</script>
<script type="text/javascript" crossorigin="" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/csdn-login-box.js.下载"></script>
<div id="pointDivs"><div class="point-outer point-pre"><div class="point-inner"></div></div><div class="point-outer point-pre"><div class="point-inner"></div></div><div class="point-outer point-pre"><div class="point-inner"></div></div><div class="point-outer point-pre"><div class="point-inner"></div></div><div class="point-outer point-pre"><div class="point-inner"></div></div></div><div id="st_mask" onclick="closeMask()" style="width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); position: fixed; left: 0px; top: 0px; display: none; z-index: 1;"></div><div id="st_confirmBox" style="width: 360px; position: fixed; text-align: left; display: none; z-index: 100; inset: 0px; height: 208px; margin: auto;"><div id="st_confirm" style="background: rgb(255, 255, 255); border-radius: 4px; overflow: hidden; padding: 24px; width: 360px; height: 208px;"><span id="st_confirm_tit" style="width: 100%; max-height: 24px; font-size: 18px; font-weight: 500; color: rgb(34, 34, 38); line-height: 24px; text-align: left; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;"></span><span id="st_confirm_text" style="text-align: left; height: 44px; font-size: 14px; font-weight: 400; color: rgb(85, 86, 102); line-height: 22px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; text-overflow: ellipsis; -webkit-line-clamp: 2; margin-top: 16px; margin-bottom: 40px;"></span><span class="st_confirm_btn success" style="background: rgb(252, 85, 51); color: rgb(255, 255, 255); text-align: center; display: block; width: 88px; height: 36px; line-height: 36px; margin-left: 16px; float: right; border-radius: 18px;">确定</span><span class="st_confirm_btn cancel" style="color: rgb(34, 34, 38); text-align: center; display: block; width: 88px; height: 36px; line-height: 36px; margin-left: 16px; float: right; box-sizing: border-box; border: 1px solid rgb(204, 204, 216); border-radius: 18px;">取消</span><span id="st_confirm_close" style="display: block; width: 12px; height: 12px; position: absolute; text-align: center; z-index: 100; top: 24px; right: 24px;"><img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/closeBt.png" style="display: block; width: 12px; height: 12px;"></span><div style="clear: both; display: block;"></div></div></div><div id="st_alertBox" style="width: 100%; position: fixed; left: 0px; top: 34%; text-align: center; display: none; z-index: 2;"><div id="st_alert" style="width: 80%; margin: 0px auto; background: rgb(255, 255, 255); border-radius: 2px; overflow: hidden; padding-top: 20px; text-align: center;"><span id="st_alert_text" style="background: rgb(255, 255, 255); overflow: hidden; padding: 15px 8px 30px; text-align: center; display: block;"></span><span id="st_alert_btn" onclick="closeMask()" style="background: rgb(27, 121, 248); color: rgb(255, 255, 255); padding: 8px; text-align: center; display: block; width: 72%; margin: 0px auto 20px; border-radius: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;"></span></div></div><div id="st_toastBox" style="width: 100%; position: fixed; left: 0px; bottom: 10%; text-align: center; display: none;"><span id="st_toastContent" style="color: rgb(255, 255, 255); background: rgba(0, 0, 0, 0.8); padding: 8px 24px; border-radius: 4px; max-width: 80%; display: inline-block; font-size: 16px;"></span></div> <div class="report-box">  <div class="pos-boxer">      <div class="pos-content">          <div class="box-title">              <p>举报</p>              <img class="icon btn-close" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/closeBlack.png">          </div>          <div class="box-header">              <div class="box-top"><span>选择你想要举报的内容（必选）</span></div>              <div class="box-botoom">                  <ul>                      <li data="1" type="nei">内容涉黄</li>                      <li data="2" type="nei">政治相关</li>                      <li data="3" type="nei">内容抄袭</li>                      <li data="4" type="nei">涉嫌广告</li>                      <li data="5" type="nei">内容侵权</li>                      <li data="6" type="nei">侮辱谩骂</li>                      <li data="8" type="nei">样式问题</li>                      <li data="7" type="nei">其他</li>                  </ul>              </div>          </div>          <div>          <div class="box-content">          </div>          <div class="box-content">          </div>                    <div class="box-content" style="display:none;">                  <div class="box-content-top">                          <span>原文链接（必填）</span>                      </div>                      <div class="box-content-bottom" style="padding-bottom: 16px;">                        <div class="box-input" style="height: 32px;line-height: 32px;">                        <input class="content-input" type="text" id="originalurl" name="originalurl" placeholder="请输入被侵权原文链接">                        </div>                      </div>          </div>          <div class="box-content">          </div>          <div class="box-content" style="display:none;">                  <div class="box-content-top">                          <span>请选择具体原因（必选）</span>                      </div>                  <div class="box-content-bottom">                          <ul>                              <li sub_type="1">包含不实信息</li>                              <li sub_type="2">涉及个人隐私</li>                          </ul>                      </div>          </div>          <div class="box-content" style="display:none;">                  <div class="box-content-top">                          <span>请选择具体原因（必选）</span>                      </div>                  <div class="box-content-bottom">                          <ul>                              <li sub_type="1">侮辱谩骂</li>                              <li sub_type="2">诽谤</li>                          </ul>                  </div>          </div>          <div class="box-content" style="display:none;">                <div class="box-content-top">                        <span>请选择具体原因（必选）</span>                    </div>                <div class="box-content-bottom">                        <ul>                            <li sub_type="1">搬家样式</li>                            <li sub_type="2">博文样式</li>                        </ul>                </div>          </div>          <div class="box-content" style="display:none;">          </div>          </div>            <div id="cllcont" style="display:none;">            <div class="box-content-top">              <span class="box-content-span">补充说明（选填）</span>            </div>                <div class="box-content-bottom">                  <div class="box-input">                    <textarea class="ipt ipt-textarea" style="padding:0;" name="description" placeholder="请详细描述您的举报内容"></textarea>                  </div>                </div>            </div>            </div>      <div class="pos-footer">          <p class="btn-close">取消</p>          <p class="box-active">确定</p>      </div>  </div></div><div class="imgViewDom disnone" style="display: none;"><img src="https://blog.csdn.net/qq_31635851/article/details/123069879"></div><style>.imgViewDom{display:none;position:fixed;top:0;left:0;height:100%;width:100%;z-index:99999999;background: rgba(255, 255, 255,0.8);overflow: auto;display:-webkit-box;-webkit-box-align:center;-webkit-box-pack:center;display:-moz-box;-moz-box-align:center;-moz-box-pack:center;display:-o-box;-o-box-align:center;-o-box-pack:center;display:-ms-box;-ms-box-align:center;-ms-box-pack:center; display:box;box-align:center;box-pack:center;}.imgViewDom img{cursor: zoom-out;}</style><svg aria-hidden="true" style="position: absolute; width: 0px; height: 0px; overflow: hidden;"><symbol id="sousuo" viewBox="0 0 1024 1024"><path d="M719.6779726 653.55865555l0.71080936 0.70145709 191.77828505 191.77828506c18.25658185 18.25658185 18.25658185 47.86273439 0 66.12399318-18.26593493 18.26125798-47.87208744 18.26125798-66.13334544 0l-191.77828505-191.77828506c-0.2338193-0.2338193-0.4676378-0.4676378-0.69678097-0.71081014-58.13206223 44.25257003-130.69075187 70.51978897-209.38952657 70.51978894C253.06424184 790.19776156 98.14049639 635.27869225 98.14049639 444.17380511S253.06424184 98.14049639 444.16912898 98.14049639c191.10488633 0 346.02863258 154.92374545 346.02863259 346.02863259 0 78.6987747-26.27189505 151.25746514-70.51978897 209.38952657z m-275.50884362 43.11621045c139.45428506 0 252.50573702-113.05145197 252.50573702-252.50573702s-113.05145197-252.50573702-252.50573702-252.50573783-252.50573702 113.05145197-252.50573783 252.50573783 113.05145197 252.50573702 252.50573783 252.50573702z"></path></symbol><symbol id="gonggong_csdnlogo_" viewBox="0 0 4096 1024"><path d="M1234.16069807 690.46341551c62.96962316 23.02318413 194.30703694 45.91141406 300.51598128 45.91141406 114.44114969 0 178.13952547-31.68724287 183.2407937-80.86454822 4.642424-44.8587714-42.21366937-50.93170978-171.44579784-81.53931916-178.57137886-43.77913792-292.49970264-111.55313011-281.32549604-219.86735976 12.9825927-125.75031047 181.27046257-220.78504823 439.49180199-220.78504822 125.88526465 0 247.93783044 8.87998544 311.17736197 29.60894839l-21.7006331 158.57116851c-41.05306337-14.27815288-198.1937175-34.11641822-304.48363435-34.11641822-107.7744129 0-163.56447339 33.90049151-167.42416309 71.06687432-4.85835069 47.04502922 51.14763648 49.23128703 191.14910897 86.50563321 189.58364043 48.09767188 272.47250144 115.81768239 261.6221849 220.81203906-12.71268432 123.51007099-164.13128096 228.53141851-466.48263918 228.53141851-125.85827383 0-234.33444849-22.96920244-294.09216204-45.93840492l19.730302-157.86940672zM3010.8325562 172.75216735c688.40130256-129.79893606 747.80813523 103.42888812 726.53935551 309.80082928l-40.08139323 381.78539207h-218.51781789l36.57258439-348.20879061c7.90831529-76.68096846 57.13960232-226.66905073-180.54170997-221.05495659-82.26807176 1.99732195-123.05122675 13.2794919-123.05122677 13.27949188s-7.15257186 92.65954408-15.81663059 161.13529804l-41.43093509 394.84895728h-214.3072473l42.53755943-389.15389062 28.09746151-302.43233073z m-869.48282929-18.05687008c49.12332368-5.34418577 124.58970448-10.76934404 228.45044598-10.76934405 173.38913812 0 313.57954648 30.17575597 400.38207891 93.63121421 77.94953781 59.16391512 129.82592689 154.95439631 115.4668015 293.74128117-13.25250106 129.15115596-80.405704 219.57046055-178.16651631 275.4954752-89.44763445 52.74009587-202.16137055 75.27744492-371.66382812 75.27744493-99.94707012 0-195.27870708-5.39816743-267.77609576-16.14052064L2141.37671774 154.69529727z m143.26736381 569.85754561c16.70732823 3.23890047 38.67786969 6.45081009 81.99816339 6.45081009 173.44311979 0 295.7386031-85.23706385 308.01943403-205.07638097 17.84094339-173.2271931-90.63523129-233.79463176-273.39018992-232.74198912-23.67096422 0-56.57279475 0-73.98188473 3.1849188l-42.6725136 428.15565036z" fill="#262626"></path><path d="M1109.8678928 870.30336371c-41.10704503 14.25116203-126.26313639 23.96786342-245.23874671 23.96786342-342.13585224 0-526.8071603-160.59548129-504.97157302-372.90540663C385.78470347 268.40769434 659.36382925 126.08500985 958.9081404 126.08500985c116.00661824 0 184.32042718 9.33882968 248.31570215 24.99351522l-20.5400271 170.42014604c-42.56455024-14.33213455-142.32268451-27.50366309-223.07926938-27.50366311-176.25016686 0-325.94134993 52.49717834-343.10752238 218.57179958-15.30380469 148.50358623 89.7715245 219.48948804 288.04621451 219.48948804 69.0155707 0 170.77102691-9.8786464 217.81605614-24.15679928l-16.49140154 162.40386737z" fill="#CA0C16"></path></symbol><symbol id="gonggong_csdnlogodanse_" viewBox="0 0 4096 1024"><path d="M1229.41995733 690.46341551c62.96962316 23.02318413 194.30703694 45.91141406 300.51598128 45.91141406 114.44114969 0 178.13952547-31.68724287 183.2407937-80.86454822 4.642424-44.8587714-42.21366937-50.93170978-171.44579784-81.53931916-178.57137886-43.77913792-292.49970264-111.55313011-281.32549604-219.86735976 12.9825927-125.75031047 181.27046257-220.78504823 439.49180199-220.78504822 125.88526465 0 247.93783044 8.87998544 311.17736197 29.60894839l-21.7006331 158.57116851c-41.05306337-14.27815288-198.1937175-34.11641822-304.48363435-34.11641822-107.7744129 0-163.56447339 33.90049151-167.42416309 71.06687432-4.85835069 47.04502922 51.14763648 49.23128703 191.14910897 86.50563321 189.58364043 48.09767188 272.47250144 115.81768239 261.6221849 220.81203906-12.71268432 123.51007099-164.13128096 228.53141851-466.48263918 228.53141851-125.85827383 0-234.33444849-22.96920244-294.09216204-45.93840492l19.730302-157.86940672zM3006.09181546 172.75216735c688.40130256-129.79893606 747.80813523 103.42888812 726.53935551 309.80082928l-40.08139323 381.78539207h-218.51781789l36.57258439-348.20879061c7.90831529-76.68096846 57.13960232-226.66905073-180.54170997-221.05495659-82.26807176 1.99732195-123.05122675 13.2794919-123.05122677 13.27949188s-7.15257186 92.65954408-15.81663059 161.13529804l-41.43093509 394.84895728h-214.3072473l42.53755943-389.15389062 28.09746151-302.43233073z m-869.48282929-18.05687008c49.12332368-5.34418577 124.58970448-10.76934404 228.45044598-10.76934405 173.38913812 0 313.57954648 30.17575597 400.38207891 93.63121421 77.94953781 59.16391512 129.82592689 154.95439631 115.4668015 293.74128117-13.25250106 129.15115596-80.405704 219.57046055-178.16651631 275.4954752-89.44763445 52.74009587-202.16137055 75.27744492-371.66382812 75.27744493-99.94707012 0-195.27870708-5.39816743-267.77609576-16.14052064L2136.635977 154.69529727z m143.26736381 569.85754561c16.70732823 3.23890047 38.67786969 6.45081009 81.99816339 6.45081009 173.44311979 0 295.7386031-85.23706385 308.01943403-205.07638097 17.84094339-173.2271931-90.63523129-233.79463176-273.39018992-232.74198912-23.67096422 0-56.57279475 0-73.98188473 3.1849188l-42.6725136 428.15565036z m-1174.74919792 145.75052083c-41.10704503 14.25116203-126.26313639 23.96786342-245.23874671 23.96786342-342.13585224 0-526.8071603-160.59548129-504.97157303-372.90540663C381.04396273 268.40769434 654.62308851 126.08500985 954.16739966 126.08500985c116.00661824 0 184.32042718 9.33882968 248.31570215 24.99351522l-20.5400271 170.42014604c-42.56455024-14.33213455-142.32268451-27.50366309-223.07926938-27.50366311-176.25016686 0-325.94134993 52.49717834-343.10752238 218.57179958-15.30380469 148.50358623 89.7715245 219.48948804 288.04621451 219.48948804 69.0155707 0 170.77102691-9.8786464 217.81605614-24.15679928l-16.49140154 162.40386737z"></path></symbol><symbol id="xieboke1" viewBox="0 0 1024 1024"><path d="M204.70021457 751.89799169h657.99199211a33.6932867 33.6932867 0 0 1 0 67.33536736H163.68452703a33.53966977 33.53966977 0 0 1-18.74125054-5.68382181c-18.63883902-9.4218307-18.17798882-29.44322156-15.20806401-39.17228615C199.0675982 570.27171976 309.41567149 409.58853908 435.38145354 290.12586836A243.22661203 243.22661203 0 0 1 536.97336934 234.20935065c138.10150976-33.79569759 228.3257813-29.95527721 318.60125827-28.52152054-17.15387692 20.48224105-36.20236071 41.6301547-57.29906892 62.93168529-3.1747472 3.22595323-164.67721739 19.91897936-187.97576692 47.05794871-23.29854894 27.13896932 129.60138005 7.37360691 125.19769798 11.11161576-21.6599699 18.33160576-44.90731339 36.4071831-69.94685287 53.8682939-4.50609297 3.1747472-149.52035944-0.35843931-174.61110436 27.85584737-25.19315641 28.16308124 101.89914903 18.12678338 96.0617103 21.40394206-67.43777825 37.63611797-125.96578207 64.62147036-212.70807253 93.8086635-57.65750823 19.4069231-121.8181284 133.13456658-146.5504346 179.06599187a435.75967738 435.75967738 0 0 0-23.04252112 49.10617311z" fill="#CA0C16"></path></symbol><symbol id="gitchat" viewBox="0 0 1024 1024"><path d="M892.08971773 729.08552746h-108.597062v-162.89559374H403.40293801v-108.59706198h488.68677972v271.49265572z m-651.58237345 54.298531V783.49265572h488.68678045v108.59706201H131.91028227V131.91028227h760.17943546v217.19412473h-108.597062V240.50734428H240.50734428v542.87671418z m542.98531145 0h108.597062v108.59706199h-108.597062v-108.59706199z" fill="#FF9100"></path></symbol><symbol id="toolbar-memberhead" viewBox="0 0 1303 1024"><path d="M1061.51168438 433.79527648A78.51879902 78.51879902 0 1 1 1129.35192643 472.74060007h-1.80593246l-48.05350474 403.97922198c-4.55409058 38.16013652-39.41643684 67.133573-80.79584389 67.13357302H319.35199503c-41.30088817 0-76.00619753-28.81639958-80.717325-66.97653526L189.01078861 472.74060007H187.12633728a78.51879902 78.51879902 0 1 1 67.76172401-38.86680556l193.31328323 119.81968805 158.13686148-336.06046024A78.5973179 78.5973179 0 0 1 658.23913228 80.14660493a78.51879902 78.51879902 0 0 1 51.58685077 137.721974l158.13686147 335.82490362 193.54883986-119.89820607z" fill="#FDD840"></path><path d="M1050.8331274 394.22180104a78.51879902 78.51879902 0 1 1 78.51879903 78.51879903h-1.80593246l-48.05350474 403.97922198c-4.55409058 38.16013652-39.41643684 67.133573-80.79584389 67.13357302H659.02432018C658.47468805 793.25433807 658.23913228 505.32590231 658.23913228 80.14660493a78.51879902 78.51879902 0 0 1 51.58685077 137.721974l158.13686147 335.82490362 193.54883986-119.89820607A78.51879902 78.51879902 0 0 1 1050.8331274 394.22180104z" fill="#FFBE00"></path></symbol><symbol id="toolbar-m-memberhead" viewBox="0 0 1303 1024"><path d="M1062.74839935 433.79527648A78.51879902 78.51879902 0 1 1 1130.58864141 472.74060007h-1.80593246l-48.05350474 403.97922198c-4.55409058 38.16013652-39.41643685 67.133573-80.79584389 67.13357302H320.58871c-41.30088817 0-76.00619753-28.81639958-80.71732499-66.97653526L190.24750358 472.74060007H188.36305226a78.51879902 78.51879902 0 1 1 67.761724-38.86680556l193.31328324 119.81968805 158.13686147-336.06046024A78.5973179 78.5973179 0 0 1 659.47584726 80.14660493a78.51879902 78.51879902 0 0 1 51.58685076 137.721974l158.13686148 335.82490362 193.54883985-119.89820607z" fill="#D6D6D6"></path><path d="M1052.06984238 394.22180104a78.51879902 78.51879902 0 1 1 78.51879903 78.51879903h-1.80593246l-48.05350474 403.97922198c-4.55409058 38.16013652-39.41643685 67.133573-80.79584389 67.13357302H660.26103515C659.71140302 793.25433807 659.47584726 505.32590231 659.47584726 80.14660493a78.51879902 78.51879902 0 0 1 51.58685076 137.721974l158.13686148 335.82490362 193.54883985-119.89820607A78.51879902 78.51879902 0 0 1 1052.06984238 394.22180104z" fill="#C1C1C1"></path></symbol><symbol id="csdnc-upload" viewBox="0 0 1024 1024"><path d="M216.37466416 723.16095396v84.46438188h591.25067168v-84.46438188c0-23.32483876 18.90735218-42.23219094 42.23219093-42.23219021s42.23219094 18.90735218 42.23219096 42.23219021v84.46438188c0 46.64967827-37.81470362 84.46438188-84.46438189 84.46438189H216.37466416c-46.64967827 0-84.46438188-37.81470362-84.46438189-84.4643819v-84.46438187c0-23.32483876 18.90735218-42.23219094 42.23219096-42.23219021s42.23219094 18.90735218 42.23219094 42.23219021zM469.76780906 275.55040991L246.55378774 499.53305726a42.30820888 42.30820888 0 0 1-59.99082735 0c-16.56346508-16.62259056-16.56346508-43.57095155 0-60.19354139L480.51167818 144.38144832A42.21952103 42.21952103 0 0 1 512 131.93984464a42.20262858 42.20262858 0 0 1 31.48409853 12.44160369l293.95294108 294.95806754c16.56346508 16.62259056 16.56346508 43.57095155 0 60.19354139a42.30820888 42.30820888 0 0 1-59.99082735 0L554.23219094 275.55040991V680.92876375c0 23.32483876-18.90735218 42.23219094-42.23219094 42.23219021s-42.23219094-18.90735218-42.23219094-42.23219021V275.55040991z"></path></symbol></svg><div>
  <div class="csdn-side-toolbar " style="bottom: 64px !important; left: 1776.5px;">
    
    <a class="option-box" data-type="guide">
      <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/guide.png" alt="" srcset="">
      <span class="show-txt">新手<br>引导</span>
    </a>
    
    
    
    
    <a class="option-box" data-type="cs">
      <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/kefu.png" alt="" srcset="">
      <span class="show-txt">客服</span>
    </a>
    
    
    
    <a class="option-box" data-type="report">
      <span class="show-txt" style="display:flex;opacity:100;">举报</span>
    </a>
    
    
    <a class="option-box" data-type="gotop">
      <img src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/fanhuidingbucopy.png" alt="" srcset="">
      <span class="show-txt">返回<br>顶部</span>
    </a>
    
  </div>
  </div><iframe name="googlefcPresent" style="display: none; width: 0px; height: 0px; border: none; z-index: -1000; left: -1000px; top: -1000px;" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/saved_resource(3).html"></iframe><iframe src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/aframe.html" width="0" height="0" style="display: none;"></iframe><div class="notification" style="position: fixed; left:initial; right: 24px; top: 50px; bottom: initial; z-index: 99999;"></div></body><iframe id="google_esf" name="google_esf" src="./【Java 8】终于搞懂了 Java 8 的内存结构，再也不纠结方法区和常量池了_猫巳的博客-CSDN博客_java8 方法区_files/zrt_lookup.html" style="display: none;"></iframe></html>